Sayyiduna Zayd bin Arqam (may Allah be pleased with him) narrates: When Ibn Ubayy said what he said, I came to the Prophet (peace and blessings be upon him) and informed him (peace and blessings be upon him). Then he (Ibn Ubayy) came and swore that he had not said it. So some people began saying: "This one (Zayd) brought a lie to the Messenger of Allah (peace and blessings be upon him)." Eventually I sat in my house, fearing that when people saw me they would say: "This is the one who lies." Until Allah, the Mighty and Majestic, revealed this verse: "They are the ones who say: 'Do not spend on those who are with the Messenger of Allah until they disperse.' And to Allah belong the treasures of the heavens and the earth, but the hypocrites do not understand." [Al-Munafiqun: 7].
Hadith Referenceالمعجم الكبير للطبراني / باب الزاي / 4960