1 Samuel 30:6-7
6-7David strengthened himself with trust in his God. He ordered Abiathar the priest, son of Ahimelech, "Bring me the Ephod so I can consult God." Abiathar brought it to David.
8Then David prayed to God, "Shall I go after these raiders? Can I catch them?"
The answer came, "Go after them! Yes, you'll catch them! Yes, you'll make the rescue!"