Thus, they distanced themselves from their society.
Thus, they distanced themselves from their society. However, this should not be understood as an idle period away from society, for they took refuge there while asking for Allah's grace and help. They also sought to improve and develop themselves. Muslims of the End Times living under oppressive regimes will conceal themselves and hope for Allah to increase His grace upon them, and also to make their lives and struggle against anti-religious movements easier.
Their secrecy continued for some time So We sealed their ears with sleep in the cave for a number of years. Then We woke them up again so that We might see which of the two groups would better calculate the time they had stayed there. (Surat al-Kahf: 11-12) The reason for this state of sleep was their surrender to fate and peace, because Allah, Who created the universe out of nothing, arranges everything for the benefit of Muslims.
In our own time, some Muslims have adopted a similar spiritual detachment. This way, they remain uncorrupted by the materialist ideologies that seek to distance people from their faith, and also are untouched by the violence to which these ideologies lead. Thus, they can continue to live according to the Qur'an without being affected by the surrounding moral degeneration, cruelty, and chaos. The of the Cave remained hidden for some time, and Allah roused them at a time of His choosing.
They proclaimed Allah's religion to their people Our people have taken deities apart from Him. Why do they not produce a clear authority concerning them? Who could do greater wrong than someone who invents a lie against Allah? (Surat al-Kahf: 15) As this verse states, the of the Cave called their idolatrous people to faith, invited them to Allah's religion, asked them to stop associating others with Allah, and demanded that they bring forth the evidence upon which they based their denial.
When they could not do this, they exposed their idolatrous people as liars and slanderers. Today, Muslims also demand proof from those who take idols besides Allah. In the End Times, there exists an idolatrous belief that idolizes matter and chance: Darwinism. Darwinism claims that the universe has no purpose, was formed by random occurrences, and that only the fittest members of nature survive. This anti-religious system is based on conflict and violence.