It was narrated from Ibn 'Abbas that the Prophet said:
"Whoever lives in the desert, he becomes hard-hearted, and whoever follows game becomes preoccupied with it (and neglectful toward other duties), and whoever follows the ruler will put himself through trial."(Sahih)
The wording is of Ibn Al-Muthanna.