From Sahih Bukhari (Hadith 4661):
Narrated Khãlid bin Aslam:We went out with 'Abdullãh bin 'Umar and he said, "This (Verse) was revealed before the prescription of Zakat, and when Zakãt was prescribed, Allah made it a means of purifying one's wealth
Reference: Bukhari 4661