It is narrated from Sayyiduna Dhu Mikhbar (may Allah be pleased with him) that the Prophet (peace and blessings be upon him) said: "Allah, the Mighty and Majestic, looked upon the people of Madinah when it was (at that time) an open plain, before it was settled, with neither a building of clay nor a tent in it, and He said: O people of Yathrib, I lay three conditions upon you and I will send you every kind of fruit: do not disobey, do not betray, and do not be arrogant. If you do any of that, I will leave you like a slaughtered camel that no one is prevented from eating."
Hadith Referenceالمعجم الكبير للطبراني / باب الذال / 4219