Anas bin Malik reported,

A man came to the Messenger of Allah ﷺ and said, "Messenger of Allah, the livestock have perished and the roads have been cut off, so pray to Allah عز وجل."The Messenger of Allah ﷺ prayed, and we were given rain from one Friday to the next.Then a man came to the Messenger of Allah ﷺ and said, "Messenger of Allah, the houses have collapsed, the roads have been cut off, and the livestock have perished."He said, "O Allah, upon the mountaintops, the hills, the valley bottoms, and the places where trees grow."The clouds then parted from Medina the way a garment is parted.

Nasai 1505

Sahih

أخبرنا قتيبة بن سعيد عن مالك عن شريك بن عبد الله بن أبي نمر

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

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

النسائي 1505صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Nasai Sughra
Book
Istisqa
Chapter
When the imam should pray for rain
Numbering
Darussalam 1505
Nasai 1505