It is narrated from Sayyiduna Ibn Abbas (may Allah be pleased with them both) in a marfu' form that the Messenger of Allah (peace and blessings be upon him) said: "Whoever settles in the desert becomes hard-hearted, whoever follows the game becomes heedless, and whoever goes to the ruler falls into fitnah."
Hadith Referenceالمعجم الكبير للطبراني / باب العين / 10984