Khalid bin Aslam reported,

We went out with Abdullah bin Umar, and an Arabi said to him, "Tell me about the words of Allah, 'And those who hoard gold and silver and do not spend it in the way of Allah' [Tawbah 9:34]."Ibn Umar replied, "Whoever hoards it and does not pay its zakat, woe to him. But this was only before zakat was revealed. When it was revealed, Allah made it a means of purifying wealth."

Azami 12456

Sahih

عن خالد بن أسلم قال

خرجنا مع عبد الله بن عمر، فقال أعرابي: أخبرني قول الله {والذين يكنزون الذهب والفضة ولا ينفقونها في سبيل الله} قال ابن عمر: من كنزها، فلم يؤد زكاتها، فويل له، إنما كان هذا قبل أن تنزل الزكاة، فلما أنزلت، جعلها الله طهرا للأموال.

الأعظمي 12456صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Tafsir of the great Quran
Chapter
Virtues of Surah Baqarah
Section
His saying, "And give good tidings to those who believe and do righteous deeds that they will have gardens beneath which rivers flow. Every time they are provided with fruit therefrom as provision, they will say, 'This is what we were provided with before.' And they were given"
Numbering
Jami al-Kamil 12456 (2nd edition)
Azami 12456