It was narrated that Jarir bin 'Abdullah said:
We were sitting with the Messenger of Allah. He looked at the moon, which was full, and said, 'Indeed, you will see your Lord as you see this moon. You will not feel the slightest inconvenience and overcrowding in seeing Him. If you have the power not to be overcome and to say this prayer before the sun rises and before it sets, then do that.' Then he recited: And glorify the praises of your Lord, before the rising of the sun and before (its) setting.