There are three practices that the Messenger of Allah ﷺ used to perform which people have abandoned. One of them is giving the salam at the funeral prayer just as the salam is given in the regular prayer.
ثلاث خلال كان رسول الله ﷺ يفعلهن، تركهن الناس، إحداهن التسليم على الجنازة مثل التسليم في الصلاة.
No references are available.
Tabarani reported it in al-Kabir (10/100) through the route of Musa bin Ayun, from Khalid bin Yazid Abu Abdul-Rahman, from Zayd bin Abu Unaysa, from Hammad, from Ibrahim, from Alqama and Aswad, from Ibn Masud. Bayhaqi also narrated it through this same route (4/43), and the wording given here is his.Hafiz Haythami said in al-Majmu (3/34), "Its narrators are trustworthy." Nawawi said in al-Majmu (5/239), "Its chain is good," and he said in al-Khulasa (3507), "Bayhaqi narrated it with a good chain."I say, its chain includes Hammad bin Abu Sulayman, whom Ibn Main, Nasai, and Ajli deemed trustworthy, though others criticized him. Nonetheless, his hadith is hasan.His statement, "like the salutation in the prayer," meaning the obligatory prayers, is supported by what has been established from Abdullah bin Masud and others, that the Prophet ﷺ used to give two salutations in the prayer.It has also been related from Abdullah bin Abu Awfa that he said the takbir four times, then paused for a while, until we thought he would say a fifth takbir. Then he gave the salutation to his right and to his left. When he finished, we asked him, "What is this?" He said, "I am not adding anything beyond what I saw the Messenger of Allah ﷺ do."Hakim narrated it (1/359–360), and Bayhaqi (4/43), both from the hadith of Ibrahim Hijri, from Abdullah bin Abu Awfa, who related the hadith.Hakim said, "Sahih, and Ibrahim bin Muslim Hijri has not been criticized on any valid basis." Dhahabi rejected this, saying, "They have weakened Ibrahim."I say, it is as he said.Abu Hanifa and Shafii held the view that two salutations should be given, and there is a narration from Imam Ahmad that two salutations suffice, just as one salutation suffices, though one is the preferred practice.