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.
muslim:897cʿAbd al-Aʿlá b. Ḥammād And Muḥammad b. Abū Bakr al-Muqaddamī > Muʿtamir > ʿUbaydullāh > Thābit al-Bunānī > Anas b. Mālik

Apostle of Allah, there is a drought and the trees have become yellow, the animals have died; and the rest of the hadith is the same, and in the narration transmitted by 'Abd al-A'la the words are:" The clouds cleard from Medina and it began to rain around it and not a single drop of rain fell in Medina. And as I looked towards Medina, I found it hollow like (the hollowness of) a basin.  

مسلم:٨٩٧cوَحَدَّثَنِي عَبْدُ الأَعْلَى بْنُ حَمَّادٍ وَمُحَمَّدُ بْنُ أَبِي بَكْرٍ الْمُقَدَّمِيُّ قَالاَ حَدَّثَنَا مُعْتَمِرٌ حَدَّثَنَا عُبَيْدُ اللَّهِ عَنْ ثَابِتٍ الْبُنَانِيِّ عَنْ أَنَسِ بْنِ مَالِكٍ قَالَ

كَانَ النَّبِيُّ ﷺ يَخْطُبُ يَوْمَ الْجُمُعَةِ فَقَامَ إِلَيْهِ النَّاسُ فَصَاحُوا وَقَالُوا يَا نَبِيَّ اللَّهِ قَحِطَ الْمَطَرُ وَاحْمَرَّ الشَّجَرُ وَهَلَكَتِ الْبَهَائِمُ وَسَاقَ الْحَدِيثَ وَفِيهِ مِنْ رِوَايَةِ عَبْدِ الأَعْلَى فَتَقَشَّعَتْ عَنِ الْمَدِينَةِ فَجَعَلَتْ