At the time of heavy rain where one fears harm and damage, one should recite the following dua:
اللَّهُمَّ حَوَالَيْنَا، وَلاَ عَلَيْنَا، اللَّهُمَّ عَلَى الآكَامِ وَالجِبَالِ وَالظِّرَابِ وَالأَوْدِيَةِ وَمَنَابِتِ الشَّجَرِ
O Allah! (Let it rain) around us and not upon us. O Allah! (Let it rain) on the hills, on the mountains, on the hilltops, in the valleys and in the places where trees grow (forests).
عن أنس بن مالك أن رجلا دخل يوم الجمعة من باب كان وجاه المنبر، ورسول الله صلى الله عليه وسلم قائم يخطب، فاستقبل رسول الله صلى الله عليه وسلم قائما، فقال: يا رسول الله: هلكت المواشي، وانقطعت السبل، فادع الله يغيثنا، قال: فرفع رسول الله صلى الله عليه وسلم يديه، فقال: اللهم اسقنا، اللهم اسقنا، اللهم اسقنا قال أنس: ولا والله ما نرى في السماء من سحاب، ولا قزعة ولا شيئا وما بيننا وبين سلع من بيت، ولا دار قال: فطلعت من ورائه سحابة مثل الترس، فلما توسطت السماء، انتشرت ثم أمطرت، قال: والله ما رأينا الشمس ستا، ثم دخل رجل من ذلك الباب في الجمعة المقبلة، ورسول الله صلى الله عليه وسلم قائم يخطب، فاستقبله قائما، فقال: يا رسول الله: هلكت الأموال وانقطعت السبل، فادع الله يمسكها، قال: فرفع رسول الله صلى الله عليه وسلم يديه، ثم قال: اللهم حوالينا، ولا علينا، اللهم على الآكام والجبال والظراب والأودية ومنابت الشجر قال: فانقطعت، وخرجنا نمشي في الشمس قال شريك: فسألت أنس بن مالك: أهو الرجل الأول؟ قال لا أدري (صحيح البخاري، الرقم: 1013)
Hazrat Anas (radhiyallahu ‘anhu) reports that once a person entered the musjid on the day of Jumuah from the door which was in the direction of the mimbar. He entered while Rasulullah (sallallahu ‘alaihi wasallam) was delivering the Khutbah. The man stood in front of Rasulullah (sallallahu ‘alaihi wasallam) and said, “O Rasulullah (sallallahu ‘alaihi wasallam)! The livestock are dying and the roads are cut off (due to the animals being too weak for travel); so make dua to Allah Ta‘ala for rain.” Rasulullah (sallallahu ‘alaihi wasallam) raised both his hands and made dua saying:
اللّٰهُمَّ اسْقِنَا، اللّٰهُمَّ اسْقِنَا، اللّٰهُمَّ اسْقِنَا
O Allah, Bless us with rain! O Allah, Bless us with rain! O Allah, Bless us with rain!
Hazrat Anas (radhiyallahu ‘anhu) further says, “By Allah, we could not see any cloud in the sky nor any sign of rain, and there was no house or dwelling between us and (the mountains of) Sala’. Then a cloud (round in shape) like a shield appeared from behind it (i.e. the Sala’ Mountain). When it came in the middle of the sky, it spread out (and grew until it covered the entire sky) and then it began to rain.”
Hazrat Anas (radhiyallahu ‘anhu) further says, “By Allah! We did not see the sun for six days. A person then entered through the same door the next jumuah while Rasulullah (sallallahu ‘alaihi wasallam) was delivering the khutbah. The man stood in front of Rasulullah (sallallahu ‘alaihi wasallam) and said, ‘O Rasulullah (sallallahu ‘alaihi wasallam)! The livestock are dying and the roads are cut off (due to the roads being flooded), so make dua to Allah Ta‘ala to withhold the rain.’ Rasulullah (sallallahu ‘alaihi wasallam) raised both his hands and said,
اَللّٰهُمَّ حَوَالَيْنَا، وَلاَ عَلَيْنَا، اللّٰهُمَّ عَلَى الآكَامِ وَالجِبَالِ وَالظِّرَابِ وَالأَوْدِيَةِ وَمَنَابِتِ الشَّجَرِ
O Allah! (Let it rain) around us and not upon us. O Allah! (Let it rain) on the hills, on the mountains, on the hilltops, in the valleys and in the places where trees grow (forests).
The rain then stopped and we came out (of the musjid) walking in the sun.”
Hazrat Shareek (rahimahullah) says, “I asked Hazrat Anas (radhiyallahu ‘anhu) whether the same person had come who asked for rain (the previous Friday). Hazrat Anas (radhiyallahu ‘anhu) replied that he did not know.”