The Kebra Nagast, by E.A. Wallis Budge, , at sacred-texts.com
Now SOLOMON sinned an exceedingly great sin through the worship of idols, and from being a wise man he became a fool, and his sin is written down in the Book of the Prophets. And the Archbishops who were there answered and said, "Hath God had mercy on SOLOMON for this error which is written down [as] his sin?" Yea, God hath had mercy upon him, and his name is numbered with [the names of] ABRAHAM, ISAAC, and JACOB, and DAVID his father in the Book of Life in heaven. For God is a forgiver of those who have sinned. Come now, and consider, which was the greater of the two, the sin of his father DAVID or the sin of his son SOLOMON? DAVID caused URIAH to be slain in battle by means of a plan of deceit so that he might take his wife BÊRSÂBÊḤ (BATHSHEBA), the mother of SOLOMON; and he repented, and God had compassion on him. And when he was dying he advised his son SOLOMON, saying, "Kill JOAB as he killed ’AMÊR (ABNER), and kill SHIMEI because he cursed me";1 and he performed the will of his father and slew them after the death of DAVID his father. And SOLOMON killed no one except his brother when he wished to marry the p. 105 Samênâwît,1 the wife of his father DAVID whose name was ’ABÎS (ABISHAG). And as concerning the error of SOLOMON which is written down I will reveal it to you, even as God hath revealed it to me.
1 1 Kings ii. 5 ff.
1 i.e., the "Shunammite woman" (see 1 Kings i. 3).