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.
bukhari:932Musaddad > Ḥammād b. Zayd > ʿAbd al-ʿAzīz > Anas > Yūnus > Thābit > Anas

While the Prophet ﷺ was delivering the Khutba on a Friday, a man stood up and said, "O, Allah's Apostle! The livestock and the sheep are dying, so pray to Allah for rain." So he (the Prophet) raised both his hands and invoked Allah (for it).  

البخاري:٩٣٢حَدَّثَنَا مُسَدَّدٌ قَالَ حَدَّثَنَا حَمَّادُ بْنُ زَيْدٍ عَنْ عَبْدِ الْعَزِيزِ عَنْ أَنَسٍ وَعَنْ يُونُسَ عَنْ ثَابِتٍ عَنْ أَنَسٍ قَالَ

بَيْنَمَا النَّبِيُّ ﷺ يَخْطُبُ يَوْمَ الْجُمُعَةِ إِذْ قَامَ رَجُلٌ فَقَالَ يَا رَسُولَ اللَّهِ هَلَكَ الْكُرَاعُ وَهَلَكَ الشَّاءُ فَادْعُ اللَّهَ أَنْ يَسْقِيَنَا فَمَدَّ يَدَيْهِ وَدَعَا