Urwah bin al-Zubayr (may Allah be pleased with him) said: When the trial became severe on him (peace and blessings be upon him) and his companions (then the full hadith of Musa bin Uqbah, mentioned at number 17861, is narrated), except that at the end it says that some people (who had withdrawn their support from the Prophet (peace and blessings be upon him)) said: O people of Yathrib, go back from here; there is no place for you to stay here. Imam al-Shafi'i (may Allah have mercy on him) said: Some of the hypocrites were also with him (peace and blessings be upon him) in the campaign of Banu al-Mustaliq, and they too said unseemly things, which Allah has related: "They say: If we return to Madinah, the more honourable will surely expel the more humble from it." [Surah al-Munafiqun: 8] Besides this, there are other verses in which Allah has described their hypocrisy.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب السير / 17864