Sayyidina Abu Hurayrah (RA) reported that Allah’s Messenger (SAW) said, “There are three people to whom Allah will not speak on the day of Resurrection, and not purify them, and for them is a severe chastisement. (One of them is) a man who pledges allegiance to his imam, and if he gives him something, he obeys him; if he does not give him anything then he does not honour the pledge.
[Muslim 108]