Narrated Jarir bin `Abdullah
We were in the company of the Prophet (ﷺ) on a fourteenth night (of the lunar month), and he looked at the (full) moon and said, "You will see your Lord as you see this moon, and you will have no trouble in looking at Him. So, whoever can, should not miss the offering of prayers before sunrise (Fajr prayer) and before sunset (`Asr prayer)." Then the Prophet (ﷺ) recited: 'And celebrate the praises of your Lord before the rising of the sun and before (its) setting.' (50.39)
Narrated Mujahid
Ibn `Abbas said, "Allah ordered His Prophet to celebrate Allah's praises after all prayers." He refers to His Statement: 'After the prayers.' (50.40)