2 Samuel 5:14

These are the names of those whose birth took place in Jerusalem: Shammua and Shobab and Nathan and Solomon

2 Samuel 12:1-7

And the Lord sent Nathan to David. And Nathan came to him and said, There were two men in the same town: one a man of great wealth, and the other a poor man.

2 Samuel 12:24-25

And David gave comfort to his wife Bath-sheba, and he went in to her and had connection with her: and she had a son to whom she gave the name Solomon. And he was dear to the Lord.

1 Chronicles 3:5-9

And in Jerusalem he had four sons, Shimea and Shobab and Nathan and Solomon, by Bath-shua, the daughter of Ammiel;

1 Chronicles 14:4

These are the names of the children he had in Jerusalem: Shammua and Shobab, Nathan and Solomon

Matthew 1:6

And the son of Jesse was David the king; and the son of David was Solomon by her who had been the wife of Uriah;

Luke 2:31

Which you have made ready before the face of all nations;

Treasury of Scripture Knowledge

Summary

And these be the names of those that were born unto him in Jerusalem; Shammua, and Shobab, and Nathan, and Solomon,

Bible References

The names

1 Chronicles 3:5
And in Jerusalem he had four sons, Shimea and Shobab and Nathan and Solomon, by Bath-shua, the daughter of Ammiel;
1 Chronicles 14:4
These are the names of the children he had in Jerusalem: Shammua and Shobab, Nathan and Solomon

Solomon

2 Samuel 12:24
And David gave comfort to his wife Bath-sheba, and he went in to her and had connection with her: and she had a son to whom she gave the name Solomon. And he was dear to the Lord.
Matthew 1:6
And the son of Jesse was David the king; and the son of David was Solomon by her who had been the wife of Uriah;

Basic English, produced by Mr C. K. Ogden of the Orthological Institute - public domain