Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
ahmad:14766Mūsá > Ibn Lahīʿah > Abū al-Zubayr > Jābir

[Machine] Regarding the Prophet ﷺ , when one of you shrouds his brother, let him do so properly, and pray four takbirs (Allahu Akbar) for the deceased, both during the day and at night, equally.  

أحمد:١٤٧٦٦حَدَّثَنَا مُوسَى حَدَّثَنَا ابْنُ لَهِيعَةَ عَنْ أَبِي الزُّبَيْرِ عَنْ جَابِرٍ

عَنِ النَّبِيِّ ﷺ إِذَا كَفَّنَ أَحَدُكُمْ أَخَاهُ فَلْيُحْسِنْ كَفَنَهُ وَصَلُّوا عَلَى الْمَيِّتِ أَرْبَعَ تَكْبِيرَاتٍ فِي اللَّيْلِ وَالنَّهَارِ سَوَاءً  


See similar narrations below:

Collected by Suyūṭī
suyuti:2582a

“If anyone of you is charged with taking care of his brother (after death), let him shroud him well.” (Using translation from Ibn Mājah 1474)   

السيوطي:٢٥٨٢a

"إذَا كفَّنَ أحدُكُمْ أخاهُ فليُحسِنْ كَفَنَهُ" .  

[د] أبو داود عن جابر