Anas bin Malik reported,

Whenever a drought struck, Umar bin Khattab would seek rain through Abbas bin Abdul-Muttalib. He would say, "O Allah, we used to seek means to You through our Prophet ﷺ and You would give us rain. Now we seek means to You through the uncle of our Prophet, so give us rain."And they would be given rain.

Bukhari 3710

Sahih

حدثنا الحسن بن محمد حدثنا محمد بن عبد الله الأنصاري حدثني أبي عبد الله بن المثنى عن ثمامة بن عبد الله بن أنس

عن أنس رضي الله عنه

أن عمر بن الخطاب كان إذا قحطوا استسقى بالعباس بن عبد المطلب فقال اللهم إنا كنا نتوسل إليك بنبينا ﷺ فتسقينا وإنا نتوسل إليك بعم نبينا فاسقنا قال فيسقون

البخاري 3710صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Virtues of the companions of the Prophet ﷺ
Chapter
Abbas bin Abdul-Muttalib, may Allah be pleased with him
Numbering
Darussalam 3710
Bukhari 3710