1 Chronicles 19:1-5 (NKJV)
It happened after this that Nahash the king of the people of Ammon died, and his son reigned in his place. 2 Then David said, “I will show kindness to Hanun the son of Nahash, because his father showed kindness to me.” So David sent messengers to comfort him concerning his father. And David’s servants came to Hanun in the land of the people of Ammon to comfort him.
3 And the princes of the people of Ammon said to Hanun, “Do you think that David really honors your father because he has sent comforters to you? Did his servants not come to you to search and to overthrow and to spy out the land?”
4 Therefore Hanun took David’s servants, shaved them, and cut off their garments in the middle, at their buttocks, and sent them away. 5 Then some went and told David about the men; and he sent to meet them, because the men were greatly ashamed. And the king said, “Wait at Jericho until your beards have grown, and then return.”