2 Samuel 12:24-25
24 Then David comforted his wife Bathsheba, and he went to her and lay with her. She gave birth to a son, and they named him Solomon. The Lord loved him;
25 and because the Lord loved him, he sent word through Nathan the prophet to name him Jedidiah.