“When the deceased enters the grave, the sun is made to appear as if it is setting. He sits up, wipes his eyes and says: ‘Let me pray.’”
Sunan Ibn Majah Book 37, Hadith 173