1 Kings 2:39-41 NIV

39 But three years later, two of Shimei's slaves ran off to Achish1 son of Maacah, king of Gath, and Shimei was told, "Your slaves are in Gath."

References for 1 Kings 2:39

40 At this, he saddled his donkey and went to Achish at Gath in search of his slaves. So Shimei went away and brought the slaves back from Gath.
41 When Solomon was told that Shimei had gone from Jerusalem to Gath and had returned,