“I entered upon Mukhtar in his palace and he said: 'Jibril has just left me.' Nothing stopped me from striking his neck (i.e, killing him) but a Hadith that I heard from Sulaiman bin Surad, according to which the Prophet (ﷺ) said: 'If a man trusts you with his life, then do not kill him.' That is what stopped me.”
Sunan Ibn Majah Book 21, Hadith 75