Sahih Muslim, Book 44, Hadith 38 (Muslim 6141)

This hadith has been narrated on the authority of 'Ubaidullah with the same chain of transmitter but with the addition of the words:

" He abandoned saying prayer over the hypocrites who had died."