Sahih al-Bukhari, Hadith 1016 ⓘ
Narrated Anas: A man came to the Prophet (p.b.u.h) and said, "Livestock are destroyed and the roads are cut off." So Allah's Messenger invoked Allah for rain and it rained from that Friday till the next Friday. The same person came again and said, "Houses have collapsed, roads are cut off, and the livestock are destroyed. Please pray to Allah to withhold the rain." Allah's Messenger (stood up and) said, "O Allah! (Let it rain) on the plateaus, on the hills, in the valleys and over the places where trees grow." So the clouds cleared away from Medina as clothes are taken off.
حَدَّثَنَا عَبْدُ اللَّهِ بْنُ مَسْلَمَةَ، عَنْ مَالِكٍ، عَنْ شَرِيكِ بْنِ عَبْدِ اللَّهِ، عَنْ أَنَسٍ، قَالَ جَاءَ رَجُلٌ إِلَى النَّبِيِّ صلى الله عليه وسلم فَقَالَ هَلَكَتِ الْمَوَاشِي وَتَقَطَّعَتِ السُّبُلُ. فَدَعَا، فَمُطِرْنَا مِنَ الْجُمُعَةِ إِلَى الْجُمُعَةِ، ثُمَّ جَاءَ فَقَالَ تَهَدَّمَتِ الْبُيُوتُ وَتَقَطَّعَتِ السُّبُلُ، وَهَلَكَتِ الْمَوَاشِي فَادْعُ اللَّهَ يُمْسِكْهَا. فَقَامَ صلى الله عليه وسلم فَقَالَ " اللَّهُمَّ عَلَى الآكَامِ وَالظِّرَابِ وَالأَوْدِيَةِ وَمَنَابِتِ الشَّجَرِ " . فَانْجَابَتْ عَنِ الْمَدِينَةِ انْجِيَابَ الثَّوْبِ.
also referenced under: Book 15, Hadith 11 (In-Book) & Volume 2, Book 17, Hadith 129 (USC-MSA)