1 Chronicles 19:2-5
19:2 David said, “I will express my loyalty to Hanun son of Nahash, for his father was loyal to me.” So David sent messengers to express his sympathy over his father’s death. When David’s servants entered Ammonite territory to visit Hanun and express the king’s sympathy,
19:3 the Ammonite officials said to Hanun, “Do you really think David is trying to honor your father by sending these messengers to express his sympathy? No, his servants have come to you so they can get information and spy out the land!”
19:4 So Hanun seized David’s servants and shaved their beards off. He cut off the lower part of their robes so that their buttocks were exposed and then sent them away.
19:5 Messengers came and told David what had happened to the men, so he summoned them, for the men were thoroughly humiliated. The king said, “Stay in Jericho until your beards grow again; then you may come back.”