1 Samuel 22:5

And the prophet Gad said to David, Do not go on living in this place but go into the land of Judah. Then David went away and came to the woodland of Hereth.

1 Chronicles 21:9

Then the word of the Lord came to Gad, David's seer, saying,

1 Chronicles 29:29

Now all the acts of David, first and last, are recorded in the words of Samuel the seer, and the words of Nathan the prophet, and the words of Gad the seer;

2 Chronicles 29:25

Then he put the Levites in their places in the house of the Lord, with brass and corded instruments of music as ordered by David and Gad, the king's seer, and Nathan the prophet: for the order was the Lord's, given by his prophets.

2 Samuel 24:11

And David got up in the morning; now the word of the Lord had come to the prophet Gad, David's seer, saying,

Treasury of Scripture Knowledge

Summary

And the prophet Gad said unto David, Abide not in the hold; depart, and get thee into the land of Judah. Then David departed, and came into the forest of Hareth.

David departed

Bible References

Gad

2 Samuel 24:11
And David got up in the morning; now the word of the Lord had come to the prophet Gad, David's seer, saying,
1 Chronicles 21:9
Then the word of the Lord came to Gad, David's seer, saying,
1 Chronicles 29:29
Now all the acts of David, first and last, are recorded in the words of Samuel the seer, and the words of Nathan the prophet, and the words of Gad the seer;
2 Chronicles 29:25
Then he put the Levites in their places in the house of the Lord, with brass and corded instruments of music as ordered by David and Gad, the king's seer, and Nathan the prophet: for the order was the Lord's, given by his prophets.

Depart

1 Samuel 23:1
And they sent word to David, saying, The Philistines are fighting against Keilah and taking the grain from the grain-floors.
Nehemiah 6:11
And I said, Am I the sort of man to go in flight? what man, in my position, would go into the Temple to keep himself safe? I will not go in.
Psalm 11:1
In the Lord put I my faith; how will you say to my soul, Go in flight like a bird to the mountain?
Isaiah 8:12
Do not say, It is holy, about everything of which this people says, It is holy; and do not be in fear of what they go in fear of.

David departed

Matthew 10:23
But when they are cruel to you in one town, go in flight to another: for truly, I say to you, You will not have gone through the towns of Israel before the Son of man comes.

Basic English, produced by Mr C. K. Ogden of the Orthological Institute - public domain