"We were seated with the Prophet ﷺ when he looked towards the moon on the night of a full moon and said: "Indeed you shall be placed before your Lord and you shall see Him as you see this moon. You will see Him without trouble. So if you are able to keep from becoming overwhelmed from prayer before the rising of the sun and before its setting, then do so." Then he recited: And glorify the praises of your Lord before the setting." (Using translation from Tirmidhī 2551)
كُنَّا جُلُوسًا عِنْدَ رَسُولِ اللهِ ﷺ وَهُوَ يَنْظُرُ إِلَى الْقَمَرِ لَيْلَةَ الْبَدْرِ فَقَالَ «أَمَا إِنَّكُمْ سَتُعْرَضُونَ عَلَى رَبِّكُمْ فَتَرَوْنَهُ كَمَا تَرَوْنَ هَذَا الْقَمَرَ لَا تُضَامُونَ فِي رُؤْيَتِهِ فَإِنِ اسْتَطَعْتُمْ أَنْ لَا تُغْلَبُوا عَلَى صَلَاةٍ قَبْلَ طُلُوعِ الشَّمْسِ وَقَبْلَ غُرُوبِهَا» ثُمَّ قَرَأَ {وَسَبِّحْ بِحَمْدِ رَبِّكَ قَبْلَ طُلُوعِ الشَّمْسِ وَقَبْلَ الْغُرُوبِ}