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.
Sunan Abi Dawud Book 21, Hadith 82