Umar bin Khattab reported,

The Prophet of Allah ﷺ looked at the polytheists, who numbered a thousand, while his companions were three hundred and some ten men. The Prophet of Allah ﷺ then faced the qiblah, stretched out his hands, and began calling upon his Lord, "O Allah, fulfill for me what You have promised me. O Allah, grant me what You have promised me. O Allah, if You destroy this band of the people of Islam, You will not be worshipped on earth."He kept calling upon his Lord, with his hands outstretched, facing the qiblah, until his cloak fell from his shoulders. Abu Bakr came to him, picked up his cloak, placed it back on his shoulders, then embraced him from behind and said, "Prophet of Allah, your earnest appeal to your Lord is enough. He will surely fulfill for you what He has promised you."Then Allah تبارك وتعالى revealed, "When you sought help from your Lord, He answered you, 'I will reinforce you with a thousand angels in succession.'" [Anfal 8:9]. So Allah reinforced them with angels.He said, this is a hasan sahih gharib hadith. We do not know it from the narration of Umar except through the hadith of Ikrima bin Ammar from Abu Zumayl, and Abu Zumayl's name is Simak Hanafi. This took place on the day of Badr.

Tirmidhi 3081

Sahih

حدثنا محمد بن بشار حدثنا عمر بن يونس اليمامي حدثنا عكرمة بن عمار حدثنا أبو زميل حدثنا عبد الله بن عباس

حدثنا عمر بن الخطاب قال

نظر نبي الله ﷺ إلى المشركين وهم ألف وأصحابه ثلاث مائة وبضعة عشر رجلا فاستقبل نبي الله ﷺ القبلة ثم مد يديه وجعل يهتف بربه اللهم أنجز لي ما وعدتني اللهم آتني ما وعدتني اللهم إن تهلك هذه العصابة من أهل الإسلام لا تعبد في الأرض فما زال يهتف بربه مادا يديه مستقبل القبلة حتى سقط رداؤه من منكبيه فأتاه أبو بكر فأخذ رداءه فألقاه على منكبيه ثم التزمه من ورائه فقال يا نبي الله كفاك مناشدتك ربك إنه سينجز لك ما وعدك فأنزل الله تبارك وتعالى {إذ تستغيثون ربكم فاستجاب لكم أني ممدكم بألف من الملائكة مردفين} فأمدهم الله بالملائكة قال هذا حديث حسن صحيح غريب لا نعرفه من حديث عمر إلا من حديث عكرمة بن عمار عن أبي زميل وأبو زميل اسمه سماك الحنفي وإنما كان هذا يوم بدر

الترمذي 3081صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami Tirmidhi
Book
Tafsir of the Quran
Chapter
From Surah Anfal
Numbering
Darussalam 3081
Tirmidhi 3081