Sahih al-Bukhari 554
529 حدثنا الحميدي قال حدثنا مروان بن معاوية قال حدثنا إسماعيل عن قيس عن جرير قال كنا عند النبي صلى الله عليه وسلم فنظر إلى القمر ليلة يعني البدر فقال إنكم سترون ربكم كما ترون هذا القمر لا تضامون في رؤيته فإن استطعتم أن لا تغلبوا على صلاة قبل طلوع الشمس وقبل غروبها فافعلوا ثم قرأ وسبح بحمد ربك قبل طلوع الشمس وقبل الغروب قال إسماعيل افعلوا لا تفوتنكم \ 1 \
529 Al-Humaydi related to us, he said: Marwan ibn Mu'awiya related to us, he said: Isma'il related to us, from Qays, from Jarir, who said: We were with the Prophet ﷺ, and he looked at the moon one night, meaning the full moon, and said: You will see your Lord as you see this moon, you will not be crowded or harmed by one another in seeing Him. So if you are able not to be overcome regarding a prayer before the rising of the sun and before its setting, then do so. Then he recited: "and glorify with praise of your Lord before the rising of the sun and before the setting". Isma'il said: Do it, do not let it escape you.
Indicative translation