Narrated Ma'qil:Allah's Messenger (ﷺ) said, "If any ruler having the authority to rule Muslim subjects dies while he is deceiving them, Allah will forbid Paradise for him
Hadith No. 7151
Sahih al Bukhari