Hazrat Zuhri says that if a disbeliever, in the throes of death, professes the testimony of faith, then his funeral prayer will be performed.