It is narrated from Sayyiduna Anas bin Malik (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "Indeed Allah Almighty has appointed two angels over His believing servant who write down his deeds. When Allah, the Mighty and Majestic, takes the soul of His believing servant, the two of them say: O our Lord, You appointed us over this believing servant of Yours to write down his deeds, and now You have taken him to Yourself, so grant us permission to go up to the heaven. Allah Almighty says: My heaven is full of My angels who glorify Me. The two say: Then permit us to dwell on the earth. Allah Almighty says: My earth too is full of My creatures who glorify Me; rather, stay at the grave of this servant of Mine and, until the Day of Resurrection, keep glorifying Me with tasbih, 'Subhan Allah' (Allah is free of all imperfection), tahlil, 'La ilaha illa Allah' (there is none worthy of worship except Allah), takbir, 'Allahu akbar' (Allah is the Greatest), and tahmid, 'Al-hamdu lillah' (all praise is for Allah), and keep recording their reward in the record of deeds of this servant of Mine." Imam Ahmad bin Mani' recorded this hadith, and it has a corroborating narration (shahid) from the hadith of Sayyiduna Abdullah bin Mas'ud (may Allah be pleased with him), which has already passed in the section on the night prayer (qiyam al-layl).