The Prophet (may Allah's peace and blessings be upon him) used to remember Allah at all times
‘Ā’ishah (may Allah be pleased with her) reported:
The Prophet (may Allah's peace and blessings be upon him) used to remember Allah at all times.
كَانَ النَّبِيُّ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ يَذْكُرُ اللهَ عَلَى كُلِّ أَحْيَانِهِ.
The mother of the believers, 'Ā’ishah (may Allah be pleased with her), informs that the Prophet (may Allah's peace and blessings be upon him) was very keen on remembering Allah Almighty and that he used to remember Him at all times and in all places and conditions.
...:
Purity from the minor and major hadath (impurity) is not required for remembering Allah Almighty.
The Prophet (may Allah's peace and blessings be upon him) used to remember Allah Almighty persistently.
The Hadīth urges us always to remember Allah Almighty, in adherence to the Prophet's example, excluding those conditions in which remembrance of Allah is prohibited, like answering the call of nature.
Sahīh Muslim (1/ 282) (373).
Sahīh Al-Bukhāri (1/ 68).
(1/ 129).
More (6)
توضيح الأحكام مِن بلوغ المرام.
للبسام (1/ 315).
فتح ذي الجلال والإكرام شرح بلوغ المرام.
لابن عثيمين (1/ 273).
مجموع فتاوى ومقالات.
لابن باز (26/ 17).