After some time, in the third year of the drought, the Lord said to Elijah, "Go and present yourself to King Ahab, and I will send rain."
So Elijah started out. The famine in Samaria was at its worst,
so Ahab called in Obadiah, who was in charge of the palace. (Obadiah was a devout worshiper of the Lord,
and when Jezebel was killing the Lord's prophets, Obadiah took a hundred of them, hid them in caves in two groups of fifty, and provided them with food and water.)
Ahab said to Obadiah, "Let us go and look at every spring and every stream bed in the land to see if we can find enough grass to keep the horses and mules alive. Maybe we won't have to kill any of our animals."
References for 1 Kings 18:5
They agreed on which part of the land each one would explore, and set off in different directions.
As Obadiah was on his way, he suddenly met Elijah. He recognized him, bowed low before him, and asked, "Is it really you, sir?"
"Yes, I'm Elijah," he answered. "Go and tell your master the king that I am here."