Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
tabarani:13410al-Ḥasan b. ʿAllūyah al-Qaṭṭān > ʿAlī

[Machine] The Messenger of Allah ﷺ only revealed the secret of digging the ditch to six people, four of them being immigrants: Talha, Zubayr, Ali, and Saad, and two from the Ansar: Abu Dujana and Harith bin Simmah.  

الطبراني:١٣٤١٠حَدَّثَنَا الْحَسَنُ بْنُ عَلُّويَةَ الْقَطَّانُ ثنا عَلِيُّ بْنُ سَيَابَةَ الْكُوفِيُّ ثنا يَعْقُوبُ بْنُ الْقَاسِمِ ثنا عَبْدُ اللهِ بْنُ مُصْعَبٍ عَنْ مُوسَى بْنِ عُقْبَةَ عَنْ نَافِعٍ عَنِ ابْنِ عُمَرَ ؓ قَالَ

خَفَى رَسُولُ اللهِ ﷺ الْخَنْدَقَ إِلَّا عَلَى سِتَّةِ نَفَرٍ أَرْبَعَةٍ مِنَ الْمُهَاجِرِينَ طَلْحَةُ وَالزُّبَيْرُ وَعَلِيٌّ وَسَعْدٌ وَمِنَ الْأَنْصَارِ أَبُو دُجَانَةَ وَالْحَارِثُ بْنُ الصِّمَّةِ