Anas bin Malik reported,

The people were struck by 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, our wealth has perished and our families are starving. Pray to Allah to send us rain."The Messenger of Allah ﷺ raised his hands, and there was not a single Qaza in the sky. Then clouds rose up like mountains, and before he stepped down from his pulpit I saw the rain streaming down his beard.It rained on us that day, the next day, the day after that, and the one after that, until the following Friday. Then the same Arabi, or another man, stood up and said, "Messenger of Allah, the buildings are collapsing and our property is drowning. Pray to Allah for us."The Messenger of Allah ﷺ raised his hands and said, "O Allah, around us and not upon us."He did not point with his hand toward any part of the sky except that it cleared, until Madinah stood in what looked like a clearing surrounded by clouds. The valley of Qanat ran with water for a month, and no one came from any direction without speaking of the abundant rain.

Azami 9700

Sahih

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

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

الأعظمي 9700صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Biography of the Prophet ﷺ
Chapter
Miracles of the Prophet ﷺ and proofs of his prophethood
Section
Rain falling due to the supplication of the Prophet ﷺ
Numbering
Jami al-Kamil 9700 (2nd edition)
Azami 9700