Sunan an-Nasa'i, Book 39, Hadith 63 (Nasa'i 4221)

it was narrated from Abu Hurairah that the Prophet said:

"You will become keen for positions of authority, but that will become a regret and loss. What a good life they will live, but how hard it will be for them when they die."