1 Kings - Chapter 18

In this chapter the drought finally comes to an end and a heavy rain falls.  This is referred to by James in his Epistle:

"Confess your sins to each other and pray for each other so that you may be healed. The earnest prayer of a righteous person has great power and produces wonderful results. Elijah was as human as we are, and yet when he prayed earnestly that no rain would fall, none fell for three and a half years! Then, when he prayed again, the sky sent down rain and the earth began to yield its crops."

This prayer to stop the rain for three and a half years is repeated by the two witnesses in revelation 11, who are prophesying about Jesus in the end times:

"And I will appoint my two witnesses, and they will prophesy for 1,260 days [three and a half years], clothed in sackcloth.” They are “the two olive trees” and the two lampstands, and “they stand before the Lord of the earth.” If anyone tries to harm them, fire comes from their mouths and devours their enemies. This is how anyone who wants to harm them must die. They have power to shut up the heavens so that it will not rain during the time they are prophesying;"