Abu Hurairah reported,

The Prophet ﷺ said, "No one steps out of his house without two banners being raised at his door, one held by an angel and the other by a devil. If he goes out for something pleasing to Allah عز وجل, the angel follows him with its banner, and he remains under the angel's banner until he returns home. But if he goes out for something that angers Allah, the devil follows him with its banner, and he remains under the devil's banner until he returns home."

Azami 1110

Hasan

عن أبي هريرة

عن النبي ﷺ قال: ما من خارج يخرج- يعني من بيته- إلا ببابه رايتان: راية بيد ملك، وراية بيد شيطان، فإن خرج لما يحب الله عز وجل، اتبعه الملك برايته، فلم يزل تحت راية الملك حتى يرجع إلى بيته، وإن خرج لما يسخط الله، اتبعه الشيطان برايته، فلم يزل تحت راية الشيطان حتى يرجع إلى بيته.

الأعظمي 1110حسن
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Knowledge
Chapter
Encouragement to seek knowledge
Section
Virtue of one who goes out seeking knowledge
Numbering
Jami al-Kamil 1110 (2nd edition)
Azami 1110