Ibn Abdullah bin Abbas reported,

He said to me, "Kurayb, get up and see whether anyone has gathered for my son."I said, "Yes."He said, "Goodness, how many do you reckon they are? Forty?"I said, "No, they are more than that."He said, "Then take my son out, for I bear witness that I heard the Messenger of Allah ﷺ say, 'There are no forty believers who intercede for a believer except that Allah accepts their intercession.'"

Ibn Majah 1489

Sahih

حدثنا إبراهيم بن المنذر الحزامي حدثنا بكر بن سليم حدثني حميد بن زياد الخراط حدثنا شريك عن كريب مولى عبد الله بن عباس قال هلك

ابن لعبد الله بن عباس فقال

لي يا كريب قم فانظر هل اجتمع لابني أحد فقلت نعم فقال ويحك كم تراهم أربعين قلت لا بل هم أكثر قال فاخرجوا بابني فأشهد لسمعت رسول الله ﷺ يقول ما من أربعين من مؤمن يشفعون لمؤمن إلا شفعهم الله

ابن ماجه 1489صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Ibn Majah
Book
Funerals
Chapter
Those upon whom a group of Muslims prayed the funeral prayer
Numbering
Darussalam 1489
Ibn Majah 1489