Uthman ibn Affan reported: The Prophet, peace and blessings be upon him, when he finished burying the deceased, he would stand over them and say, “Seek forgiveness for your brothers and ask Allah to keep them firm, for they are being questioned now.”
Source: Sunan Abī Dāwūd 3321
Grade: Hasan (fair) according to Al-Nawawi
عَنْ عُثْمَانَ بْنِ عَفَّانَ قَالَ كَانَ النَّبِيُّ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ إِذَا فَرَغَ مِنْ دَفْنِ الْمَيِّتِ وَقَفَ عَلَيْهِ فَقَالَ اسْتَغْفِرُوا لِأَخِيكُمْ وَسَلُوا لَهُ بِالتَّثْبِيتِ فَإِنَّهُ الْآنَ يُسْأَلُ
3321 سنن أبي داود كتاب الجنائز باب الاستغفار عند القبر للميت في وقت الانصراف
212 المحدث النووي خلاصة حكم المحدث إسناده حسن في الأذكار