Abu Tayah reported,

A man asked Abdul-Rahman bin Khunbush how the Messenger of Allah ﷺ dealt with the devils when they plotted against him.He replied, "The devils came to the Messenger of Allah ﷺ from the valleys and descended upon him from the mountains. Among them was a devil carrying a torch of fire with which he intended to burn the Messenger of Allah ﷺ. He became alarmed."Jafar said, "I think he said, he began to step back."He continued, "Then Jibreel عليه السلام came and said, 'Muhammad, say.'The Prophet asked, 'What shall I say?'Jibreel said, 'Say, I seek refuge in the perfect words of Allah, which neither the righteous nor the wicked can surpass, from the evil of what He has created, fashioned, and brought into being, from the evil of what descends from the sky and what ascends into it, from the evil of what He has scattered upon the earth and what comes forth from it, from the evil of the trials of night and day, and from the evil of every visitor by night, except a visitor who comes with good, Most Merciful One.'So the fire of the devils was extinguished, and Allah عز وجل routed them."

Ahmad 15461

Daif

حدثنا عفان حدثنا جعفر بن سليمان حدثنا

أبو التياح قال

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

أحمد 15461ضعيف
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Abdul-Rahman bin Khunbash
Numbering
Darussalam 15461
Ahmad 15461