[Machine] When the Messenger of Allah ﷺ commanded us to dig the trench, there was a rock in it that could not be broken with a regular tool. So we complained about it to the Messenger of Allah ﷺ . The Messenger of Allah ﷺ came and threw his cloak, took the tool, and said, "In the name of Allah." He struck a blow and broke a third of the rock. He said, "Allah is the Greatest! I have been given the keys to Syria, and by Allah, I can see its red palaces from this place." Then he struck another blow and said, "In the name of Allah," and broke another third. He said, "Allah is the Greatest! I have been given the keys to Persia, and by Allah, I can see the white palaces of Madain from here." Then he struck the third blow and said, "In the name of Allah," and cut through the rock. He said, "Allah is the Greatest! I have been given the keys to Yemen, and by Allah, I can see the gates of Sana'a."
لَمَّا أَمَرَنَا رَسُولُ اللهِ ﷺ أَنْ نَحْفِرَ الْخَنْدَقَ عَرَضَ لَنَا فِيهِ حَجَرٌ لَا يَأْخُذُ فِيهِ الْمِعْوَلُ فَاشْتَكَيْنَا ذَلِكَ إِلَى رَسُولِ اللهِ ﷺ فَجَاءَ رَسُولُ اللهِ ﷺ فَأَلْقَى ثَوْبَهُ وَأَخَذَ الْمِعْوَلَ وَقَالَ «بِسْمِ اللهِ فَضَرَبَ ضَرْبَةً فَكَسَرَ ثُلُثَ الصَّخْرَةِ» قَالَ «اللهُ أَكْبَرُ أُعْطِيتُ مَفَاتِحَ الشَّامِ وَاللهِ إِنِّي لَأُبْصِرُ قُصُورَهَا الْحُمْرَ الْآنَ مِنْ مَكَانِي هَذَا» قَالَ ثُمَّ ضَرَبَ أُخْرَى وَقَالَ «بِسْمِ اللهِ وَكَسَرَ ثُلُثًا آخَرَ» وَقَالَ «اللهُ أَكْبَرُ أُعْطِيتُ مَفَاتِحَ فَارِسَ وَاللهِ إِنِّي لَأُبْصِرُ قَصْرَ الْمَدَائِنَ الْأَبْيَضَ الْآنَ ثُمَّ ضَرَبَ الثَّالِثَةَ» وَقَالَ «بِسْمِ اللهِ فَقَطَعَ الْحَجَرَ» قَالَ «اللهُ أَكْبَرُ أُعْطِيتُ مَفَاتِحَ الْيَمَنِ وَاللهِ إِنِّي لَأُبْصِرُ بَابَ صَنْعَاءَ»