Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
suyuti:2812a
Request/Fix translation

  

السيوطي:٢٨١٢a

"اذكر الموْتَ في صلاتِكَ، فإِنَّ الرَّجلَ إذا ذَكَر الموْتَ في صلاتِه لَحَرِي أنْ يُحسِنَ صلاتُه، وَصلِّى صلاةَ رجُلٍ لا يَظُنُّ أنْ يُصلِّى صلاةً غيرها، وإيَّاكَ وكُلَّ أمْرٍ يُعتذرُ مِنْه".  

الديلمى عن أنس وحسَّنه الحافظ ابن حجر في زهر الفرودس

See similar narrations below:

Collected by Suyūṭī
suyuti:3606a
Request/Fix translation

  

السيوطي:٣٦٠٦a

"اعَملْ لله رأى العَينِ، فَإن لم تكنْ تراهُ فإِنَّهُ يراكَ وأَسْبِغ طُهْرَكَ، وإذا دخلتَ المسجِدَ، فاذكُر الموتَ، فإِن الرَّجُلَ إِذا ذكر الموتَ لَحَرِيٌّ أن يُحْسِنَ صلاتَهُ، وصَلِّ صلاةَ رَجُلٍ لا يَظُنُّ أن يُصَلِّي غيرَها، وإِيَّاكَ وكلَّ أمرٍ يُعْتذرُ مِنهُ".  

الديلمى عن أنس