Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bayhaqi:6469Abū Ṣāliḥ b. Abū Ṭāhir al-ʿAnbarī > Jaddī Yaḥyá b. Manṣūr > Aḥmad b. Salamah > Isḥāq b. Ibrāhīm > Muḥammad b. Bishr > Misʿar > al-Miqdām b. Shurayḥ from his father > ʿĀʾishah

[Machine] When the Prophet ﷺ saw clouds or a mirage, he became startled. And when it rained, he would pray: "O Allah, let it be a beneficial rain."  

البيهقي:٦٤٦٩أَخْبَرَنَا أَبُو صَالِحِ بْنُ أَبِي طَاهِرٍ الْعَنْبَرِيُّ أنبأ جَدِّي يَحْيَى بْنُ مَنْصُورٍ ثنا أَحْمَدُ بْنُ سَلَمَةَ ثنا إِسْحَاقُ بْنُ إِبْرَاهِيمَ أنبأ مُحَمَّدُ بْنُ بِشْرٍ ثنا مِسْعَرٌ عَنِ الْمِقْدَامِ بْنِ شُرَيْحٍ عَنْ أَبِيهِ عَنْ عَائِشَةَ قَالَتْ

كَانَ رَسُولُ اللهِ ﷺ إِذَا رَأَى سَحَابًا أَوْ مَخِيلَةً فَزِعَ فَإِذَا مُطِرَ قَالَ اللهُمَّ سَقْيًا نَافِعًا