Al-Ilmam bi-Ahadith al-Ahkam 489
وَعَن عَطاء، عَن أم سَلمَة رَضِيَ اللَّهُ عَنْها أَنَّهَا كَانَت تلبس أَوْضَاحًا من ذهب، فَسَأَلت عَن ذَلِك النبيّ ﷺ فَقَالَت: أكَنْزٌ هُوَ؟ فَقَالَ: " إِذا أدّيت زَكَاته فَلَيْسَ بكنز ". أخرجه الْحَاكِم من حَدِيث مُحَمَّد بن مهَاجر، عَن ثَابت بن عجلَان، وَقَالَ: صَحِيح عَلَى شَرط البُخَارِيّ، وَلم يخرجَاهُ. وَقد أخرجه أَبُو دَاوُد قَرِيبا من لَفظه.
And from ʿAtaʾ, from Umm Salamah, may Allah be pleased with her, that she used to wear anklets of gold, and she asked the Prophet ﷺ about that, saying: "Is it hoarded treasure?" He said: "When you have paid its zakah, it is not hoarded treasure." Al-Hakim recorded it from the hadith of Muhammad ibn Muhajir, from Thabit ibn ʿAjlan, and said: Sound according to the condition of al-Bukhari, and they did not record it. And Abu Dawud recorded it in wording close to his.