Sahih al-Bukhari 1010
Hasan bin Muhammad narrated to us, (he said:) Muhammad bin Abdullah (bin Muthanna) Ansari narrated to us. He said: My father Abdullah bin Muthanna told me. He narrated from Thumamah bin Abdullah bin Anas, Thumamah from Hazrat Anas (ra) (bin Malik), that (in the time of) Hazrat Umar bin Khattab (ra), when the people were struck by drought, he would pray for rain through the means of Hazrat Abbas bin Abdul Muttalib (ra) and say: O Allah! We used to come to You through the means of our Prophet (saw), and You would give us water to drink. Now we come to You through the means of the uncle of our Prophet (saw). Send down rain for us and give us water to drink. The narrator used to say: Rain would be sent down for them.
AI-translated by Islam-Today
Book 3: Request of the people to the Imam to offer the Istisqa' prayer