Sunan Ibn Majah, Book 5, Hadith 1328 (In-Book)

It was narrated from Shurahbil bin Simt that he said to Ka’b: “O Ka’b bin Murrah, narrate to us a Hadith from the Messenger of Allah, but be careful.” He said: “A man came to the Prophet and said: ‘O Messenger of Allah, ask Allah for rain!’ So the Messenger of Allah raised his hands and said: ‘O Allah! Send wholesome, productive rain upon all of us, sooner rather than later, beneficial and not harmful.’ No sooner had they finished performing Friday (prayer) but they were revived. Then they came to him and complained to him about the rain, saying: ‘O Allah, around us and not upon us.’ Then the clouds began to disperse right and left.”

حَدَّثَنَا أَبُو كُرَيْبٍ، حَدَّثَنَا أَبُو مُعَاوِيَةَ، عَنِ الأَعْمَشِ، عَنْ عَمْرِو بْنِ مُرَّةَ، عَنْ سَالِمِ بْنِ أَبِي الْجَعْدِ، عَنْ شُرَحْبِيلَ بْنِ السِّمْطِ، أَنَّهُ قَالَ لِكَعْبٍ يَا كَعْبُ بْنَ مُرَّةَ حَدِّثْنَا عَنْ رَسُولِ اللَّهِ ـ صلى الله عليه وسلم ـ وَاحْذَرْ ‏.‏ قَالَ جَاءَ رَجُلٌ إِلَى النَّبِيِّ ـ صلى الله عليه وسلم ـ فَقَالَ يَا رَسُولَ اللَّهِ اسْتَسْقِ اللَّهَ فَرَفَعَ رَسُولُ اللَّهِ ـ صلى الله عليه وسلم ـ يَدَيْهِ فَقَالَ ‏"‏ اللَّهُمَّ اسْقِنَا غَيْثًا مَرِيئًا مَرِيعًا طَبَقًا عَاجِلاً غَيْرَ رَائِثٍ نَافِعًا غَيْرَ ضَارٍّ ‏"‏ ‏.‏ قَالَ فَمَا جَمَّعُوا حَتَّى أُجِيبُوا ‏.‏ قَالَ فَأَتَوْهُ فَشَكَوْا إِلَيْهِ الْمَطَرَ فَقَالُوا يَا رَسُولَ اللَّهِ تَهَدَّمَتِ الْبُيُوتُ ‏.‏ فَقَالَ ‏"‏ اللَّهُمَّ حَوَالَيْنَا وَلاَ عَلَيْنَا ‏"‏ ‏.‏ قَالَ فَجَعَلَ السَّحَابُ يَنْقَطِعُ يَمِينًا وَشِمَالاً ‏.‏

sunnah.com