Sunan an-Nasa'i, Book 42, Hadith 47 (In-Book) ⓘ
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.
أَخْبَرَنَا إِسْحَاقُ بْنُ إِبْرَاهِيمَ، قَالَ أَنْبَأَنَا عَبْدُ الرَّحْمَنِ، عَنْ سُفْيَانَ، عَنْ أَبِي مُوسَى، ح وَأَنْبَأَنَا مُحَمَّدُ بْنُ الْمُثَنَّى، عَنْ عَبْدِ الرَّحْمَنِ، قَالَ حَدَّثَنَا سُفْيَانُ، عَنْ أَبِي مُوسَى، عَنْ وَهْبِ بْنِ مُنَبِّهٍ، عَنِ ابْنِ عَبَّاسٍ، عَنِ النَّبِيِّ صلى الله عليه وسلم قَالَ " مَنْ سَكَنَ الْبَادِيَةَ جَفَا وَمَنِ اتَّبَعَ الصَّيْدَ غَفُلَ وَمَنِ اتَّبَعَ السُّلْطَانَ افْتُتِنَ " . وَاللَّفْظُ لاِبْنِ الْمُثَنَّى .
also referenced under: Hadith 4309 (Reference) & Volume 5, Book 42, Hadith 4314 (DarusSalam)