Sahih al-Bukhari 6342
صحيح البخاري#6342SahihNarrated Anas:While the Prophet (ﷺ) was delivering a sermon on a Friday, a man stood up and said, "O Allah's Messenger (ﷺ)! Invoke Allah to bless us with rain." (The Prophet (ﷺ) invoked Allah for rain.) So, the sky became overcast and it started raining till one could hardly reach one's home. It kept on raining till the next Friday when the same man or another man got up and said (to the Prophet), "Invoke Allah to withhold the rain from us, for we have been drowned (with heavy rain )." The Prophet (ﷺ) said, "O Allah! Let it rain around us and not on us." Then the clouds started dispersing around Medina and rain ceased to fall on the people of Medina
Scholarly Authentication
We show the most cautious grade (weakest-wins) as the overall label. Individual scholars graded it as follows:
Every narration in Sahih al-Bukhari is accepted as Sahih (authentic) by the established status of the book.
In-book reference: 80:39