Anas bin Malik reported,

A man came to the Prophet ﷺ and said, "The livestock have perished and the roads have been cut off."So he prayed for rain, and we were given rain from one Friday to the next.Then the man came again and said, "The houses have collapsed, the roads have been cut off, and the livestock have perished. So ask Allah to hold it back."The Prophet ﷺ stood and said, "O Allah, upon the hills, the small mountains, the valleys, and the places where trees grow."The clouds then parted away from Madinah like a garment being torn off.

Bukhari 1016

Sahih

حدثنا عبد الله بن مسلمة عن مالك عن شريك بن عبد الله

عن أنس بن مالك قال

جاء رجل إلى النبي ﷺ فقال هلكت المواشي وتقطعت السبل فدعا فمطرنا من الجمعة إلى الجمعة ثم جاء فقال تهدمت البيوت وتقطعت السبل وهلكت المواشي فادع الله يمسكها فقام ﷺ فقال اللهم على الآكام والظراب والأودية ومنابت الشجر فانجابت عن المدينة انجياب الثوب

البخاري 1016صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Istisqa
Chapter
Those who sufficed with the Friday prayer for rain prayer
Numbering
Darussalam 1016
Bukhari 1016