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: "Those who affirm 'La ilaha illallah' will have no loneliness or terror in their graves, and it is as if I see the people of 'La ilaha illallah' shaking the dust off their heads (on the Day of Gathering) and saying: 'All praise belongs to Allah, who has removed grief from us.'" Imam al-Tabarani and Imam al-Bayhaqi also recorded this hadith through the route of Yahya bin Abd al-Hamid al-Himmani, and their wording is: "For the people of 'La ilaha illallah' there will be no loneliness, neither in their graves nor at the time of being raised again." And in another narration the wording is: "For the people of 'La ilaha illallah' there will be no loneliness, neither at the time of death nor in the grave."
Hadith Gradingمحدثین:سكت عنه البوصيري، إسناده ضعيف؛ لضعف عبد الرحمن بن زيد بن أسلم ويحيى الحماني
Hadith Takhrij«عبد الرحمن بن زيد بن أسلم: ضعيف (من الحفظ)؛ يحيى بن عبد الحميد الحماني: حافظ اتهموه بسرقة الحديث (من الحفظ)» «(6118/1) أخرجه المعجم الأوسط للطبراني برقم: 9474، وأخرجه مجمع الزوائد ومنبع الفوائد برقم: 16807، وأخرجه المطالب العالية بزوائد المسانيد الثمانية برقم: 2865» «(6118/2) أخرجه المعجم الأوسط للطبراني برقم: 9441، 9474، وأخرجه مجمع الزوائد ومنبع الفوائد برقم: 16807، وأخرجه المطالب العالية بزوائد المسانيد الثمانية برقم: 2865»