Sahih Muslim 3395: Leadership
It is narrated from Hasan that he said: Ubaidullah bin Ziyad came to visit Hazrat Ma'qil bin Yasar al-Muzani (ra) in the illness in which he passed away. Hazrat Ma'qil (ra) said: I am going to relate to you a narration which I heard from the Messenger of Allah (saw). If I had hope of (remaining in) life, I would not relate it to you. I heard the Messenger of Allah (saw) say: “Whoever Allah makes guardian over subjects, and when he dies, dies in the state that he has been betraying his subjects, Allah will make Paradise unlawful for him.” It is narrated from Hasan that he said: Ibn Ziyad came to Hazrat Ma'qil bin Yasar (ra) while he was ill. He also related that Ibn Ziyad said to Hazrat Ma'qil (ra): Why did you not relate this to me before? He said: I did not relate it to you, or (he said:) I was not going to relate it to you.
AI-translated by Islam-Today