1 Kings 1:46-53

46 Solomon is now seated on the royal throne.
47 Furthermore, the royal officials have come [to congratulate] His Majesty King David, saying, 'May your God make Solomon's name more famous than yours and his reign greater than your reign.' The king himself bowed down on his bed
48 and said, 'Praise the LORD God of Israel who has let me see the heir to my throne.'"
49 Adonijah's guests were frightened, so they got up and scattered in all directions.
50 Adonijah was afraid of Solomon. He got up, went [to the tent of meeting,] and took hold of the horns of the altar.
51 Someone told Solomon, "Adonijah is afraid of you, King Solomon. He is holding on to the horns of the altar and saying, 'Make King Solomon swear to me today that he will not have me killed.'"
52 Solomon said, "If he will behave like an honorable man, not one hair on his head will fall to the ground. But if he does [anything] wrong, he will die."
53 King Solomon sent men to take him from the altar. Adonijah bowed down in front of King Solomon. "Go home," Solomon told him.