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.
عَنْ زَيْنَبَ امْرَأَةِ عَبْدِ اللَّهِ بِمِثْلِهِ سَوَاءً قَالَ قَالَتْ كُنْتُ فِي الْمَسْجِدِ فَرَآنِي النَّبِيُّ ﷺ فَقَالَ تَصَدَّقْنَ وَلَوْ مِنْ حُلِيِّكُنَّ وَسَاقَ الْحَدِيثَ بِنَحْوِ حَدِيثِ أَبِي الأَحْوَصِ