Sahih al-Bukhari — Hadith 995 (KitabGrid sequence)
Narrated `Abbad bin Tamim:
حَدَّثَنَا أَبُو الۡيَمَانِ، قَالَ أَخۡبَرَنَا شُعَيۡبٌ، عَنِ الزُّهۡرِيِّ، قَالَ حَدَّثَنِي عَبَّادُ بۡنُ تَمِيمٍ، أَنَّ عَمَّهُ ـ وَكَانَ مِنۡ أَصۡحَابِ النَّبِيِّ صلى الله عليه وسلم أَخۡبَرَهُ أَنَّ النَّبِيَّ صلى الله عليه وسلم خَرَجَ بِالنَّاسِ يَسۡتَسۡقِي لَهُمۡ، فَقَامَ فَدَعَا اللَّهَ قَائِمًا، ثُمَّ تَوَجَّهَ قِبَلَ الۡقِبۡلَةِ، وَحَوَّلَ رِدَاءَهُ فَأُسۡقُوا.
Translation
Abu al-Yaman narrated to us, saying: Shu‘ayb informed us, from al-Zuhri, who said: Abbad ibn Tamim narrated to me that his uncle رضي الله تعالى عنه, who was one of the Companions of the Prophet صلى الله عليه وآله وسلم, informed him:
The Prophet صلى الله عليه وآله وسلم went out with the people to pray for rain on their behalf. He stood and supplicated to Allah while standing. Then he turned toward the qiblah and reversed his cloak, and they were given rain.