1 Chronicles 19:2-4

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.