Sunan Abi Dawud, Book 21, Hadith 82 (Abu Dawud 3171)

Narrated Ibn 'Abbas:

I heard the Prophet (ﷺ) say: If any Muslim dies and forty men associate nothing with Allah stand over his bier. Allah will accept them as intercessors for him.