Anas said that when they experienced a drought ‘Umar b. al-Khattab prayed for rain by virtue of al-‘Abbas b. ‘Abd al-Muttalib, and said, "O God, we used to supplicate Thee by virtue of our prophet and Thou didst give us water. We are now supplicating Thee by virtue of our prophet’s uncle, so give us water.” He said that they were then given water.
'A’isha said the people complained to God’s Messenger of the lack of rain, so he gave orders for a pulpit, and when it was set up for him in the place of prayer he appointed a day for the people on which they should come out. ‘A’isha said God’s Messenger came out when the rim of the sun appeared and sat down on the pulpit. Having declared God’s greatness and expressed His praise, he said, “You have complained of drought in your abodes and of delay in receiving rain at the beginning of its season, but God has ordered you to supplicate Him and has promised that He would answer your prayers.” Then he said, “Praise be to God, the Lord of the universe, the Compassionate, the Merciful, the Master of the day of judgment. There is no god but God who does what He wishes. O God, Thou art God than whom there is no god, the Rich, while we are the poor. Send down rain upon us and make what Thou
sendest down a strength and satisfaction for us for a time.” He then raised his hands and kept raising them till the whiteness under his armpits was visible. He then turned his back to the people and inverted (or, turned round) his cloak while keeping his hands aloft. He then faced the people, descended and prayed two rak'as. God then produced a cloud and a storm of thunder and lightning came on. Then it rained by God’s permission, and before he reached his mosque streams were flowing. When he saw the speed with which the people sought shelter he laughed till his back teeth were visible. Then he said, “I testify that God is omnipotent and that I am God’s servant and Messenger.”
I heard God’s Messenger say that a prophet took the people out to pray for rain, and when he saw an ant raising some of its legs to the sky he said, “Return, for your prayers have been answered because of this ant.”
Jabir said he saw God’s Messenger raising his hands in supplication. Then he said, “O God, give us rain which will replenish us, abundant, fertilising and profitable, not injurious, granting it now without delay.” He said that thereupon the sky became overcast.