So David sent this word to Joab: “Send me Uriah the Hittite.” And Joab sent him to David.
References for 2 Samuel 11:6
When Uriah came to him, David asked him how Joab was, how the soldiers were and how the war was going.
Then David said to Uriah, “Go down to your house and wash your feet.” So Uriah left the palace, and a gift from the king was sent after him.
References for 2 Samuel 11:8
But Uriah slept at the entrance to the palace with all his master’s servants and did not go down to his house.
David was told, “Uriah did not go home.” So he asked Uriah, “Haven’t you just come from a military campaign? Why didn’t you go home?”
Uriah said to David, “The ark and Israel and Judah are staying in tents, and my commander Joab and my lord’s men are camped in the open country. How could I go to my house to eat and drink and make love to my wife? As surely as you live, I will not do such a thing!”
References for 2 Samuel 11:11
Then David said to him, “Stay here one more day, and tomorrow I will send you back.” So Uriah remained in Jerusalem that day and the next.
At David’s invitation, he ate and drank with him, and David made him drunk. But in the evening Uriah went out to sleep on his mat among his master’s servants; he did not go home.