Narrated Zaid bin Arqam:
I was with my uncle and I heard `Abdullah bin Ubai bin Salul, saying, "Don't spend on those who are with Allah's Messenger (ﷺ) that they may disperse and go away from him." He also said, "If we return to Medina, surely, the more honorable will expel the meaner." So I informed my uncle of that and then my uncle informed Allah's Messenger (ﷺ) thereof. Allah's Messenger (ﷺ) sent for `Abdullah bin Ubai and his companions. They swore that they did not say anything of that sort Allah's Messenger (ﷺ) deemed their statement true and rejected mine. Thereof I became as distressed as I have never been before, and stayed at home. Then Allah revealed (Surat Al-Munafiqin): 'When the hypocrites come to you.....(63.1) They are the ones who say: Spend nothing on those who are with Allah's Messenger (ﷺ) ..(63.7) Verily the more honorable will expel therefrom the meaner..' (63.7-8) Allah's Messenger (ﷺ) sent for me and recited that Sura for me and said, "Allah has confirmed your statement."
Narrated Jabir:
We were in the company of the Prophet (ﷺ) in a Ghazwa. A large number of emigrants joined him and among the emigrants there was a person who used to play jokes (or play with spears); so he (jokingly) stroked an Ansari man on the hip. The Ans-ari got so angry that both of them called their people. The Ansari said, "Help, O Ansar!" And the emigrant said "Help, O emigrants!" The Prophet (ﷺ) came out and said, "What is wrong with the people (as they are calling) this call of the period of Ignorance? "Then he said, "What is the matter with them?" So he was told about the stroke of the emigrant to the Ansari. The Prophet (ﷺ) said, "Stop this (i.e. appeal for help) for it is an evil call. "Abdullah bin Ubai bin Salul (a hypocrite) said, "The emigrants have called and (gathered against us); so when we return to Medina, surely, the more honorable people will expel therefrom the meaner," Upon that `Umar said, "O Allah's Prophet! Shall we not kill this evil person (i.e. `Abdullah bin Ubai bin Salul) ?" The Prophet) said, "(No), lest the people should say that Muhammad used to kill his companions."