Anas bin Malik reported,

The people were struck by a year of drought during the time of the Messenger of Allah ﷺ. While the Messenger of Allah ﷺ was delivering the Friday sermon from the pulpit, an Arabi stood up and said, "Messenger of Allah, the livestock has perished and the children are starving. Pray to Allah for us."The Messenger of Allah ﷺ raised his hands, and we could not see a single wisp of cloud in the sky. By the One in whose hand my soul rests, he had not yet lowered them when clouds rose up like mountains. He had not stepped down from his pulpit before I saw the rain streaming down his beard. It rained on us that day, the next day, the day after, and right through to the following Friday.Then that same Arabi, or perhaps another man, stood up and said, "Messenger of Allah, the buildings are collapsing and the livestock are drowning. Pray to Allah for us."The Messenger of Allah ﷺ raised his hands and said, "O Allah, around us and not upon us." He would point with his hand toward a stretch of cloud, and it would part, until Madinah stood in a clearing like the opening of a courtyard. The valley flowed with water, and no one came in from any direction without reporting heavy rain.

Nasai 1529

Sahih

أخبرنا محمود بن خالد قال حدثنا الوليد بن مسلم قال أنبأنا أبو عمرو الأوزاعي عن إسحق بن عبد الله

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

أصاب الناس سنة على عهد رسول الله ﷺ فبينا رسول الله ﷺ يخطب على المنبر يوم الجمعة فقام أعرابي فقال يا رسول الله هلك المال وجاع العيال فادع الله لنا فرفع رسول الله ﷺ يديه وما نرى في السماء قزعة والذي نفسي بيده ما وضعها حتى ثار سحاب أمثال الجبال ثم لم ينزل عن منبره حتى رأيت المطر يتحادر على لحيته فمطرنا يومنا ذلك ومن الغد والذي يليه حتى الجمعة الأخرى فقام ذلك الأعرابي أو قال غيره فقال يا رسول الله تهدم البناء وغرق المال فادع الله لنا فرفع رسول الله ﷺ يديه فقال اللهم حوالينا ولا علينا فما يشير بيده إلى ناحية من السحاب إلا انفرجت حتى صارت المدينة مثل الجوبة وسال الوادي ولم يجئ أحد من ناحية إلا أخبر بالجود

النسائي 1529صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Nasai Sughra
Book
Istisqa
Chapter
Raising of the hands by the imam when asking for the rain to stop
Numbering
Darussalam 1529
Nasai 1529