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 Shaytâ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î ‘Âsim amd Abû Nu’aym in Ma’rifatu Al-Sahâbah and other works.” Graded sahîh by Al-Albâni in Sahîh Al-Targhîb wa Al-Tarhîb 1:101.