[Machine] Some of them, when morning came, kept watch over him [the Prophet] securely, desiring to kill him. And some of them said, "Rather, let us drive him out [of the city]." And Allah conveyed to His Prophet [knowledge of] their plan. So Ali, that night, slept on the Prophet's bed, while the Prophet left and hurried to the cave. The polytheists were guarding Ali, assuming he was the Prophet. When they realized their mistake in the morning, they raced towards him. But when they saw Ali, Allah deceived them with his likeness, and they said, "Where is your companion?" He said, "I do not know, so solve the problem for yourselves." When they reached the mountain, it crumbled upon them, and they ascended into it. They passed by the cave, and they saw the spider's web at its entrance. They said, "If someone had entered here, the spider's web would not be on its door. So he must have stayed in it for three nights."
فِي قَوْلِهِ {وَإِذْ يَمْكُرُ بِكَ الَّذِينَ كَفَرُوا لِيُثْبِتُوكَ} [الأنفال 30] قَالَ تَشَاوَرَتْ قُرَيْشٌ لَيْلَةً بِمَكَّةَ فَقَالَ بَعْضُهُمْ إِذَا أَصْبَحَ فَأَثْبِتُوهُ بِالْوَثَاقِ يُرِيدُونَ النَّبِيَّ ﷺ وَقَالَ بَعْضُهُمْ بَلِ اقْتُلُوهُ وَقَالَ بَعْضُهُمْ بَلْ أَخْرِجُوهُ فَأَطْلَعَ اللهُ ﷻ نَبِيَّهُ عَلَى ذَلِكَ فَبَاتَ عَلِيٌّ عَلَى فِرَاشِ النَّبِيِّ ﷺ تِلْكَ اللَّيْلَةَ وَخَرَجَ النَّبِيُّ ﷺ حَتَّى لَحِقَ بِالْغَارِ وَبَاتَ الْمُشْرِكُونَ يَحْرُسُونَ عَلِيًّا يَحْسَبُونَهُ النَّبِيَّ ﷺ فَلَمَّا أَصْبَحُوا ثَارُوا إِلَيْهِ فَلَمَّا رَأَوْا عَلِيًّا رَدَّ اللهُ مَكْرَهُمْ فَقَالُوا أَيْنَ صَاحِبُكَ هَذَا؟ قَالَ لَا أَدْرِي فَاقْتَصُّوا أَثَرَهُ فَلَمَّا بَلَغُوا الْجَبَلَ خُلِّطَ عَلَيْهِمْ فَصَعِدُوا فِي الْجَبَلِ فَمَرُّوا بِالْغَارِ فَرَأَوْا عَلَى بَابِهِ نَسْجَ الْعَنْكَبُوتِ فَقَالُوا لَوْ دَخَلَ هَاهُنَا لَمْ يَكُنْ نَسْجُ الْعَنْكَبُوتِ عَلَى بَابِهِ فَمَكَثَ فِيهِ ثَلَاثَ لَيَالٍ