So David sent this word to Joab: "Send me Uriah1 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."2 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.
When David was told, "Uriah did not go home," he asked him, "Haven't you just come from a distance? Why didn't you go home?"
Uriah said to David, "The ark3 and Israel and Judah are staying in tents, and my master Joab and my lord's men are camped in the open fields. How could I go to my house to eat and drink and lie4 with 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.