Narrated 'Amir: Ibn `Abbas (who was at that time a boy) said, "Allah's Apostle came to a grave and the people said, 'He or she was buried yesterday.' " Ibn `Abbas added, "We aligned behind the Prophet and he led the funeral prayer of the deceased."
Hadith ReferenceSahih Bukhari / The Book of Al-Janaiz (Funerals) / Hadith: 1326
Hadith Gradingمحدثین:أحاديث صحيح البخاريّ كلّها صحيحة