Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
nasai-kubra:1831ʿĪsá b. Ḥammād > al-Layth > Saʿīd > Sharīk b. ʿAbdullāh > Anas b. Mālik > Samiʿah

"While we were in the masjid on Friday and the Messenger of Allah ﷺ was addressing the people, a man stood up and said: 'O Messenger of Allah, the routes have been cut off, our wealth has been destroyed and prices have gone up. Pray to Allah (SWT) to give us rain.' So the Messenger of Allah ﷺ raised his hands in level with his face and said: 'O Allah, give us rain.' By Allah (SWT), the Messenger of Allah ﷺ had not come down from the minbar before it started to pour with rain, and it rained from that day until the following Friday. Then a man stood up- I do not know if he was the same man who had asked the Messenger of Allah ﷺ to pray for rain for us or not- and said: 'O Messenger of Allah, the routes have been cut off, and our wealth has been destroyed because there is too much water. Pray to Allah (SWT ) to stop the rain for us.' The Messenger of Allah ﷺ said: 'O Allah, around us and not on us, rather on the mountains and places where trees grow.' By Allah, hardly had the Messenger of Allah ﷺ spoken these words than the clouds split apart (and vanished) until we could not see anything of them.'" (Using translation from Nasāʾī 1515)  

الكبرى للنسائي:١٨٣١أَخْبَرَنَا عِيسَى بْنُ حَمَّادٍ قَالَ أَخْبَرَنَا اللَّيْثُ عَنْ سَعِيدٍ عَنْ شَرِيكِ بْنِ عَبْدِ اللهِ عَنْ أَنَسِ بْنِ مَالِكٍ

أَنَّهُ سَمِعَهُ يَقُولُ بَيْنَا نَحْنُ فِي الْمَسْجِدِ يَوْمَ الْجُمُعَةِ وَرَسُولُ اللهِ ﷺ يَخْطُبُ النَّاسَ فَقَامَ رَجُلٌ فَقَالَ يَا رَسُولَ اللهِ تَقَطَّعَتِ السُّبُلُ وَهَلَكَتِ الْأَمْوَالُ وَأَجْدَبَتِ الْبِلَادُ فَادْعُ اللهَ أَنْ يَسْقِيَنَا فَرَفَعَ رَسُولُ اللهِ ﷺ يَدَيْهِ حِذَاءَ وَجْهِهِ فَقَالَ «اللهُمَّ اسْقِنَا» فَوَاللهِ مَا نَزَلَ رَسُولُ اللهِ ﷺ عَنِ الْمِنْبَرِ حَتَّى أُوسِعْنَا مَطَرًا وَأُمْطِرْنَا ذَلِكَ الْيَوْمَ حَتَّى الْجُمُعَةِ الْأُخْرَى فَقَامَ رَجُلٌ لَا أَدْرِي أَهُوَ الَّذِي قَالَ يَا رَسُولَ اللهِ اسْتَسْقِ لَنَا أَمْ لَا فَقَالَ يَا رَسُولَ اللهِ تَقَطَّعَتِ السُّبُلُ وَهَلَكَتِ الْأَمْوَالُ مَنْ كَثْرَةِ الْمَاءِ فَادْعُ اللهَ أَنْ يُمْسِكَ عَنَّا الْمَاءَ فَقَالَ رَسُولُ اللهِ ﷺ «اللهُمَّ حَوَالَيْنَا وَلَا عَلَيْنَا وَلَكِنِ الْجِبَالُ وَمَنَابِتُ الشَّجَرِ» قَالَ وَاللهِ مَا هُوَ إِلَّا أَنْ تَكَلَّمَ رَسُولُ اللهِ ﷺ بِذَلِكَ تَمَزَّقَ السَّحَابُ حَتَّى مَا نَرَى مِنْهُ شَيْئًا  


See similar narrations below:

Collected by Nasāʾī
nasai:1515ʿĪsá b. Ḥammād > al-Layth > Saʿīd / al-Maqburī > Sharīk b. ʿAbdullāh b. Abū Namir > Anas b. Mālik > Samiʿah

"While we were in the masjid on Friday and the Messenger of Allah ﷺ was addressing the people, a man stood up and said: 'O Messenger of Allah, the routes have been cut off, our wealth has been destroyed and prices have gone up. Pray to Allah (SWT) to give us rain.' So the Messenger of Allah ﷺ raised his hands in level with his face and said: 'O Allah, give us rain.' By Allah (SWT), the Messenger of Allah ﷺ had not come down from the minbar before it started to pour with rain, and it rained from that day until the following Friday. Then a man stood up- I do not know if he was the same man who had asked the Messenger of Allah ﷺ to pray for rain for us or not- and said: 'O Messenger of Allah, the routes have been cut off, and our wealth has been destroyed because there is too much water. Pray to Allah (SWT ) to stop the rain for us.' The Messenger of Allah ﷺ said: 'O Allah, around us and not on us, rather on the mountains and places where trees grow.' By Allah, hardly had the Messenger of Allah ﷺ spoken these words than the clouds split apart (and vanished) until we could not see anything of them.'"  

النسائي:١٥١٥أَخْبَرَنَا عِيسَى بْنُ حَمَّادٍ قَالَ حَدَّثَنَا اللَّيْثُ عَنْ سَعِيدٍ وَهُوَ الْمَقْبُرِيُّ عَنْ شَرِيكِ بْنِ عَبْدِ اللَّهِ بْنِ أَبِي نَمِرٍ عَنْ أَنَسِ بْنِ مَالِكٍ

أَنَّهُ سَمِعَهُ يَقُولُ بَيْنَا نَحْنُ فِي الْمَسْجِدِ يَوْمَ الْجُمُعَةِ وَرَسُولُ اللَّهِ ﷺ يَخْطُبُ النَّاسَ فَقَامَ رَجُلٌ فَقَالَ يَا رَسُولَ اللَّهِ تَقَطَّعَتِ السُّبُلُ وَهَلَكَتِ الأَمْوَالُ وَأَجْدَبَ الْبِلاَدُ فَادْعُ اللَّهَ أَنْ يَسْقِيَنَا فَرَفَعَ رَسُولُ اللَّهِ ﷺ يَدَيْهِ حِذَاءَ وَجْهِهِ فَقَالَ اللَّهُمَّ اسْقِنَا فَوَاللَّهِ مَا نَزَلَ رَسُولُ اللَّهِ ﷺ عَنِ الْمِنْبَرِ حَتَّى أُوسِعْنَا مَطَرًا وَأُمْطِرْنَا ذَلِكَ الْيَوْمَ إِلَى الْجُمُعَةِ الأُخْرَى فَقَامَ رَجُلٌ لاَ أَدْرِي هُوَ الَّذِي قَالَ لِرَسُولِ اللَّهِ ﷺ اسْتَسْقِ لَنَا أَمْ لاَ فَقَالَ يَا رَسُولَ اللَّهِ انْقَطَعَتِ السُّبُلُ وَهَلَكَتِ الأَمْوَالُ مِنْ كَثْرَةِ الْمَاءِ فَادْعُ اللَّهَ أَنْ يُمْسِكَ عَنَّا الْمَاءَ فَقَالَ رَسُولُ اللَّهِ ﷺ اللَّهُمَّ حَوَالَيْنَا وَلاَ عَلَيْنَا وَلَكِنْ عَلَى الْجِبَالِ وَمَنَابِتِ الشَّجَرِ قَالَ وَاللَّهِ مَا هُوَ إِلاَّ أَنْ تَكَلَّمَ رَسُولُ اللَّهِ ﷺ بِذَلِكَ تَمَزَّقَ السَّحَابُ حَتَّى مَا نَرَى مِنْهُ شَيْئًا