We were with the Prophet ﷺ on a full moon night. He looked at the moon and said, "You will certainly see your Lord as you see this moon, and there will be no trouble in seeing Him. So if you can avoid missing (through sleep, business, etc.) a prayer before the rising of the sun (Fajr) and before its setting (ʿAsr) you must do so. He (the Prophet ﷺ ) then recited the following verse: And celebrate the praises Of Your Lord before The rising of the sun And before (its) setting." (50.39) (Using translation from Bukhārī 573)
قَالَ لِي جَرِيرُ بْنُ عَبْدِ اللهِ كُنَّا عِنْدَ النَّبِيِّ ﷺ إِذْ نَظَرَ إِلَى الْقَمَرِ لَيْلَةَ الْبَدْرِ فَقَالَ أَمَا إِنَّكُمْ سَتَرَوْنَ رَبَّكُمْ كَمَا تَرَوْنَ هَذَا لَا تُضَامُونَ وَلَا تُضَاهُونَ فِي رَؤْيَتِهِ وَإِنِ اسْتَطَعْتُمْ أَنْ لَا تُغْلَبُوا عَلَى صَلَاةٍ قَبْلَ طُلُوعِ الشَّمْسِ وَقَبْلَ غُرُوبِهَا فَافْعَلُوا ثُمَّ قَالَ {فَسَبِّحْ بِحَمْدِ رَبِّكَ قَبْلَ طُلُوعِ الشَّمْسِ وَقَبْلَ الْغُرُوبِ}