Sunan an-Nasa'i #5385 · The Book of the Etiquette of Judges

Sunan an-Nasa'iIt was narrated from Abu Hurairah that
Sunan an-Nasa'i · Book 49 · The Book of the Etiquette of Judges
Sunan an-Nasa'i · كتاب 49 · كتاب آداب القضاة
The Prophet [SAW] said: "You will be keen for governorship but it will be regret and loss on the Day of Resurrection. What a good position it is when they are alive, but how miserable their state when they die (and leave it behind)
حَدَّثَنَا مُحَمَّدُ بْنُ آدَمَ بْنِ سُلَيْمَانَ، عَنِ ابْنِ الْمُبَارَكِ، عَنِ ابْنِ أَبِي ذِئْبٍ، عَنِ الْمَقْبُرِيِّ، عَنْ أَبِي هُرَيْرَةَ، عَنِ النَّبِيِّ صلى الله عليه وسلم قَالَ ‏
"‏ إِنَّكُمْ سَتَحْرِصُونَ عَلَى الإِمَارَةِ وَإِنَّهَا سَتَكُونُ نَدَامَةً وَحَسْرَةً يَوْمَ الْقِيَامَةِ فَنِعْمَتِ الْمُرْضِعَةُ وَبِئْسَتِ الْفَاطِمَةُ ‏"‏‏.‏
Reference : Sunan an-Nasa'i 5385In-book reference : Book 49, Hadith 7