When `Abdullah bin Ubai said, "Do not spend on those who are with Allah's Messenger (ﷺ)," and also said,
"If we return to Medina," I informed the Prophet (ﷺ) of his saying. The Ansar blamed me for that, and
`Abdullah bin Ubai swore that he did not say. I returned to my house and slept. Allah's Messenger (ﷺ) then
called me and I went to him. He said, "Allah has confirmed your statement." The Verse: "They are the
one who say: Spend nothing......(63.7) was revealed.
Sahih al-Bukhari Book 65, Hadith 422