Someone who had seen the Prophet ﷺ also saw an isolated grave, so he lined up his companions behind him and performed the funeral prayer over it. He was asked, "Who told you about this?"He replied, "Ibn Abbas."
حدثنا أحمد بن منيع حدثنا هشيم أخبرنا الشيباني
من رأى النبي ﷺ ورأى قبرا منتبذا فصف أصحابه خلفه فصلى عليه فقيل له من أخبركه فقال ابن عباس
No references are available.
Sources. It is agreed upon. Muslim narrated it in the book of Funerals, chapter on the prayer over the grave, hadith 954, from the report of Hushaym, and Bukhari narrated it, hadith 1336, from the report of Sulayman Shaybani, with the same wording.On this same topic, it is also narrated from Anas [Muslim, hadith 955], from Burayda [Ibn Majah, hadith 1532], from Yazid bin Thabit [Ibn Majah, hadith 1528], from Abu Hurairah [Bukhari, hadith 458 and 1337, and Muslim, hadith 956], from Amir bin Rabia [Ibn Majah and Abu Dawud, hadith 1529], from Abu Qatada [Bayhaqi, 4/49], and from Sahl bin Hunayf [Ibn Abu Shayba, 3/361, old edition].