[Machine] Jabir, and Abbas was a captive of the Messenger of Allah ﷺ on the day of Badr, and he was only released unwillingly, so he was taken to Medina where Abdullah ibn Ubayy covered him with his shirt. For that reason, the Messenger of Allah ﷺ shrouded him in his own shirt as a reward for what he had done for Abbas.
جَابِرٌ وَكَانَ الْعَبَّاسُ أَسِيرَ رَسُولِ اللَّهِ ﷺ يَوْمَ بَدْرٍ وَإِنَّمَا أُخْرِجَ كَرْهًا فَحُمِلَ إِلَى الْمَدِينَةِ فَكَسَاهُ عَبْدُ اللَّهِ بْنُ أُبَيٍّ قَمِيصَهُ فَلِذَلِكَ «كَفَّنَهُ رَسُولُ اللَّهِ ﷺ فِي قَمِيصِهِ مُكَافَأَةً لِمَا فَعَلَ بِالْعَبَّاسِ»