Messenger of Allah ﷺ came to ʿAbdullah bin Ubai (a hypocrite) after his death and he has been laid in his pit (grave). He ordered (that he be taken out of the grave) and he was taken out. Then he placed him on his knees and threw some of his saliva on him and clothed him in his (the Prophet's) own shirt. Allah knows better (why he did so). ʿAbdullah bin Ubai had given his shirt to Al-Abbas to wear. Abu Harun said, "Messenger of Allah ﷺ at that time had two shirts and the son of ʿAbdullah bin Ubai said to him, 'O Messenger of Allah ﷺ! Clothe my father in your shirt which has been in contact with your skin.' ' Sufyan added, "Thus people think that the Prophet ﷺ clothed ʿAbdullah bin Tubal in his shirt in lieu of what he (Abdullah) had done (for Al ʿAbbas, the Prophet's uncle.)"
أَتَى رَسُولُ اللَّهِ ﷺ عَبْدَ اللَّهِ بْنَ أُبَىٍّ بَعْدَ مَا أُدْخِلَ حُفْرَتَهُ فَأَمَرَ بِهِ فَأُخْرِجَ فَوَضَعَهُ عَلَى رُكْبَتَيْهِ وَنَفَثَ عَلَيْهِ مِنْ رِيقِهِ وَأَلْبَسَهُ قَمِيصَهُ فَاللَّهُ أَعْلَمُ وَكَانَ كَسَا عَبَّاسًا قَمِيصًا قَالَ سُفْيَانُ وَقَالَ أَبُو هَارُونَ وَكَانَ عَلَى رَسُولِ اللَّهِ ﷺ قَمِيصَانِ فَقَالَ لَهُ ابْنُ عَبْدِ اللَّهِ يَا رَسُولَ اللَّهِ أَلْبِسْ أَبِي قَمِيصَكَ الَّذِي يَلِي جِلْدَكَ قَالَ سُفْيَانُ فَيُرَوْنَ أَنَّ النَّبِيَّ ﷺ أَلْبَسَ عَبْدَ اللَّهِ قَمِيصَهُ مُكَافَأَةً لِمَا صَنَعَ