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.
quran:29:5

Whoever should hope for the meeting with Allah - indeed, the term decreed by Allah is coming. And He is the Hearing, the Knowing.  

Whoever expects to encounter God, ˹should know that˺ God’s ˹appointed˺ term, for this ˹encounter˺, will indeed come; so let him prepare for it. And He is the Hearer, of the sayings of His servants, the Knower, of their actions.
القرآن:٢٩:٥

مَنْ كَانَ يَرْجُو لِقَاءَ اللَّهِ فَإِنَّ أَجَلَ اللَّهِ لَآتٍ ۚ وَهُوَ السَّمِيعُ الْعَلِيمُ  

{من كان يرجو} يخاف {لقاء الله فإن أجل الله} به {لآتٍ} فليستعد له {وهو السميع} لأقوال العباد {العليم} بأفعالهم.