Jareer bin Abdullah reported,

We were sitting with the Messenger of Allah ﷺ when he looked up at the moon on a full-moon night and said, "You shall surely see your Lord just as you see this moon, with no difficulty in seeing Him. So if you are able to never miss a prayer before sunrise and a prayer before sunset, then do so."

Azami 448

Sahih

عن جرير بن عبد الله يقول

كنا جلوسا عند رسول الله ﷺ إذ نظر إلى القمر ليلة البدر فقال: أما إنكم سترون ربكم كما ترون هذا القمر، لا تضامون في رؤيته، فإن استطعتم أن لا تغلبوا على صلاة قبل طلوع الشمس، وصلاة قبل غروب الشمس فافعلوا.

الأعظمي 448صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Faith
Chapter
Faith in Allah عز وجل
Section
Believers seeing their Lord on the Day of Resurrection, excluding the disbelievers and hypocrites
Numbering
Jami al-Kamil 448 (2nd edition)
Azami 448