Hadith 1962

(حديث مرفوع) حَدَّثَنَا أَبُو مُعَاوِيَةَ ، حَدَّثَنَا الشَّيْبَانِيُّ ، عَنِ الشَّعْبِيِّ ، عَنِ ابْنِ عَبَّاسٍ ، أَنّ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ " صَلَّى عَلَى صَاحِبِ قَبْرٍ بَعْدَمَا دُفِنَ " .
It is narrated from Sayyiduna Ibn Abbas (may Allah be pleased with them both) that once the Prophet (peace and blessings be upon him) offered the funeral prayer at the grave of a person after he had been buried.
Hadith Reference مسند احمد / ومن مسند بني هاشم / 1962
Hadith Grading حکم دارالسلام: إسناده صحيح، خ: 1247، م: 954.