It is narrated from Sayyiduna Abu Umamah (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "The gates of heaven are opened and supplication is answered on four occasions: when the ranks meet face to face in the path of Allah, the Mighty and Majestic (in jihad), when the rain falls, when the iqamah for the prayer is called, and when the House of Allah (the Ka'bah) is seen."
Imam Abu Ya'la and Imam al-Bayhaqi recorded it with a da'if (weak) chain, because its chain is technically defective due to the weakness of Ufayr bin Ma'dan and the tadlis of al-Walid bin Muslim.
Hadith Referenceإتحاف الخيرة المهرة بزوائد المسانيد العشرة / كتاب صلاة الاستسقاء / 1625
Hadith Gradingمحدثین:إسناده ضعيف
Hadith Takhrij«رواه أبو يعلى والبيهقي بسند ضعيف؛ لضعف عفير بن معدان، وتدليس الوليد بن مسلم» «أخرجه المعجم الكبير للطبراني برقم: 7713، وأخرجه مجمع الزوائد ومنبع الفوائد برقم: 17253، وأخرجه معرفة السنن والآثار برقم: 7238، وأخرجه شرح السنة برقم: 429»