Maytham, a Companion of Allāh’s Messenger – peace and blessings be upon him – said:
It has reached me that an angel goes out, holding his flag, with the first person to go to the masjid and stays holding his flag with him until he returns and then enters his home with it. And Shayṭān goes out, holding his flag, with the first person to go to the market and stays holding his flag with him until he returns and puts it in his home.
Al-Mundhirī states in Al-Targhīb wa Al-Tarhīb, “Reported by Ibn Abī ‘Āṣim amd Abū Nu’aym in Ma’rifatu Al-Ṣaḥābah and other works.” Graded ṣaḥīḥ by Al-Albāni in Ṣaḥīḥ Al-Targhīb wa Al-Tarhīb 1:101.