The Apostle of Allah (ﷺ) used to remember Allah at all moments.

Sahih Muslim Book 3, Hadith 147