Hadithcore
Mishkat al-Masabih, 3023

Jabir reported the Prophet (ﷺ) as saying, “If anyone is given a gift and has the means he should make a return for it, but if he has not the means he should express commendation, for he who expresses commendation has given thanks, he who conceals a matter has been ungrateful, and he who decks himself with what he has not been given is like him who puts on the two garments of falsehood.” Tirmidhi and Abu Dawud transmitted it.

وَعَنْ جَابِرٌ عَنِ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قَالَ: «مَنْ أُعْطِيَ عَطَاءً فَوَجَدَ فَلْيُجْزِ بِهِ وَمَنْ لَمْ يَجِدْ فَلْيُثْنِ فَإِنَّ مَنْ أَثْنَى فَقَدْ شَكَرَ وَمَنْ كَتَمَ فَقَدْ كَفَرَ وَمَنْ تَحَلَّى بِمَا لَمْ يُعْطَ كَانَ كَلَابِسِ ثوبي زور» . رَوَاهُ التِّرْمِذِيّ وَأَبُو دَاوُد

References1 variant
In-Book Reference
Book 11, Hadith 257