All perfect praise be to Allaah, The Lord of the Worlds. I testify that there is none worthy of worship except Allaah, and that Muhammad is His slave and Messenger.
We have not come across a Hadeeth with this meaning; rather, what is confirmed is that it is an obligation to perform the funeral prayer for every Muslim who dies upon Tawheed [believing in the oneness of Allaah, not associating any partners with Him].
Allaah Knows best.