Ayesha reported,

Whenever it was a windy or cloudy day, the effect of it would show on the face of the Messenger of Allah ﷺ, and he would pace back and forth. But once it began to rain, he would be relieved and that anxiety would leave him.Ayesha said, "I asked him about this."He replied, "I feared it might be a punishment sent upon my community."And whenever he saw the rain, he would say, "Mercy."

Muslim 2084

Sahih

حدثنا عبد الله بن مسلمة بن قعنب حدثنا سليمان يعني ابن بلال عن جعفر وهو ابن محمد عن عطاء بن أبي رباح أنه سمع

عائشة زوج النبي ﷺ تقول

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

مسلم 2084صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Prayer for rain
Chapter
Seeking refuge when seeing wind and clouds, and rejoicing at rain
Numbering
Darussalam 2084
Muslim 2084