A hadith like this has been narrated on the authority of Zainab the wife of 'Abdullah, and she said:
I was in the mosque and the Prophet of Allah (ﷺ) saw me and said: Give Sadaqa even though it is out of your jewellery. The rest of the hadith is the same.
Reference: Sahih Muslim 1000 b In-book : Book 12, Hadith 56 USC-MSA web (English) : Book 5, Hadith 2189 (deprecated)
Help us gift a modern, ad-free Islamic application for the Muslim Ummah. Your donation will be recorded as Sadaqah Jariyah in your book of deeds, In Sha Allah.