1 Kings 1:50-52

50 And Adonijah feared because of Solomon. And he arose, and went, and caught hold on the horns of the altar.

51 And it was told Solomon, saying, Behold, Adonijah fears king Solomon, for, lo, he has laid hold on the horns of the altar, saying, Let king Solomon swear to me first that he will not kill his servant with the sword.

52 And Solomon said, If he shall show himself a worthy man, there shall not a hair of him fall to the earth, but if wickedness be found in him, he shall die.