It is narrated from Sayyiduna Ibn Umar (may Allah be pleased with them both) that the Messenger of Allah (peace and blessings be upon him) said: "Whoever dies in the morning should take his midday rest only in his grave, and whoever dies in the evening should spend his night only in his grave."
Hadith Referenceالمعجم الكبير للطبراني / باب العين / 13494