Sunan an-Nasa'i, Book 49, Hadith 7 (Nasa'i 5394)

It was narrated from Abu Hurairah that :

The Prophet 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)."