The Messenger of Allah ﷺ went out to visit 'Abd Allah b. Ubayy during his illness of which he died. When he entered upon him, he realised death on him. He said: I used to forbid you from the love of Jews. He ('Abd Allah) said: As'ad b. Zurarah hated them. So what (the benefited) ? When he died, his son came and said: Prophet of Allah, 'Abd Allah b. Ubayy has died, give me your shirt, so that I shroud him in it. The Messenger of Allah ﷺ took off his shirt and gave it to him. (Using translation from Abū Dāʾūd 3094)
خَرَجَ رَسُولُ اللهِ ﷺ يَعُودُ عَبْدَ اللهِ بْنَ أُبَيٍّ فِي مَرَضِهِ الَّذِي مَاتَ فِيهِ وَأَنَا مَعَهُ فَعَرَفَ فِيهِ الْمَوْتَ فَقَالَ «كُنْتُ أَنْهَاكَ عَنْ حُبِّ الْيَهُودِ» قَالَ أَسْعَدُ بْنُ زُرَارَةَ مَاتَ فَمُهُ؟ فَلَمَّا مَاتَ أَتَاهُ ابْنُهُ عَبْدُ اللهِ فَقَالَ إِنَّ عَبْدَ اللهِ مَاتَ فَأَعْطِنِي قَمِيصَكَ أُكَفِّنْهُ فِيهِ فَنَزَعَ قَمِيصَهُ فَأَلْبَسَهُ إِيَّاهُ