Imam Ali (AS) said, When one of you stands to perform prayer, then let him pray the prayer of one who is bidding farewell (i.e. he should assume that it is the last prayer he will perform in his lifetime).
Mishkāt al-Anwār #346“Whenever you want to perform your obligatory prayers, perform them on time, and do it like one who is doing his last prayer and is worried...