A hadith like this has been narrated through another chain of transmitters.

Sahih Muslim Book 11 Hadith 110

Sahih Muslim #963 c

The Book of Prayer - Funerals 11:110

A hadith like this has been narrated through another chain of transmitters.

Chapter: Supplicating for the deceased during the (funeral) prayer

Grade: Sahih