Sayyiduna Jabir bin Abdullah (may Allah be pleased with them both) narrates that Sayyiduna al-Abbas bin Abd al-Muttalib (may Allah be pleased with him) was in Madinah, and the Ansar looked for a garment to clothe him with, but they did not find any shirt that fit him except the shirt of Abdullah bin Ubayy (the hypocrite), so they clothed him in that shirt.
It has been said that the Messenger of Allah (peace and blessings be upon him) did that (for him) as a repayment for what he had done (he had clothed Sayyiduna al-Abbas (may Allah be pleased with him) in a shirt). And Allah knows best.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الجنائز / 6686