About the verse: فَأْوُوا إِلَى الْكَهْفِ (then seek refuge in the Cave - 16), Ibn Kathir says that the course adopted by the People of Kahf was that they left the city in which it was not possible to worship Allah and took refuge in the Cave. This is the Sunnah, the way of all prophets. They migrate from such places and opt for a place where ` Ibadah could be done.