2 Samuel 11:4-7 New King James Version (NKJV)

4. Then David sent messengers, and took her; and she came to him, and he lay with her, for she was cleansed from her impurity; and she returned to her house.

5. And the woman conceived; so she sent and told David, and said, “I am with child.”

6. Then David sent to Joab, saying, “Send me Uriah the Hittite.” And Joab sent Uriah to David.

7. When Uriah had come to him, David asked how Joab was doing, and how the people were doing, and how the war prospered.

2 Samuel 11