Sayyiduna Jarir (may Allah be pleased with him) said: We were sitting with the Messenger of Allah (peace and blessings be upon him) while he (peace and blessings be upon him) was looking at the moon on the night of the full moon, and he said: "Listen! You will soon be presented before your Lord and you will see Him just as you see this moon; you will have no difficulty in seeing Him. So if you are able, do not let the prayer before the rising of the sun and before its setting be missed." Then he (peace and blessings be upon him) recited this verse: "And glorify the praise of your Lord before the rising of the sun and before the setting." [Surah Qaf: 39]
Hadith Referenceالمعجم الكبير للطبراني / باب الجيم / 2213