I say: This is a good chain of transmission. All its narrators are trustworthy and well known. Muhammad ibn Sulayman al-Rubai also narrated it in “A Section of His Hadith” (215/1), by way of Hisham ibn Ammar, who said: Muhammad ibn Humayr narrated to us with this chain. Ibn Abi Khaythamah and Ibn Shahin likewise narrated it by way of Qays ibn Muslim al-Sakuni, from A’idh ibn Qirt, as stated in al-Isabah (2/254) by al-Hafiz Ibn Hajar, who said: “Its chain of transmission is good.”
I say: There is no narrator named “Qays ibn Muslim al-Sakuni”; it therefore appears to be a typographical error. The correct name is “Amr ibn Qays al-Sakuni,” as mentioned above. And Allah knows best. The hadith has a strong supporting narration from Tamim al-Dari, attributed to the Prophet, with similar wording. Ahmad and others narrated it, and I have documented it in Sahih Abi Dawud (812).
2351 — “Whoever performs the funeral prayer in the mosque will have no reward.”
Abu Dawud (2/66), Ibn Majah (1/462)—whose wording is given here—al-Tahawi in Sharh al-Maʻani (1/284), Ibn Adi (198/2), al-Bayhaqi (4/52), Abd al-Razzaq in al-Musannaf (6579), Ibn Abi Shaybah (3/364–365), as well as al-Tayalisi (1/165) and Ahmad (2/444 and 455), narrated it through several routes from Ibn Abi Dhi’b, from Salih, the freedman of al-Taw’amah, from Abu Hurayrah, attributed to the Prophet.
The wording of the others is: “There is no reward for him,” except for one narration of Ahmad, which has the first wording. Abu Dawud alone differed from all of them in his narration, whose wording is: “There is no blame upon him.”