When it was the Day of the Battle of the Ditch I and 'Umar b. Salama were in the fort in which there were women, i. e. the wives of Allah's Apostle ﷺ ; the rest of the hadith is the same.
لَمَّا كَانَ يَوْمُ الْخَنْدَقِ كُنْتُ أَنَا وَعُمَرُ بْنُ أَبِي سَلَمَةَ فِي الأُطُمِ الَّذِي فِيهِ النِّسْوَةُ يَعْنِي نِسْوَةَ النَّبِيِّ ﷺ وَسَاقَ الْحَدِيثَ بِمَعْنَى حَدِيثِ ابْنِ مُسْهِرٍ فِي هَذَا الإِسْنَادِ وَلَمْ يَذْكُرْ عَبْدَ اللَّهِ بْنَ عُرْوَةَ فِي الْحَدِيثِ وَلَكِنْ أَدْرَجَ الْقِصَّةَ فِي حَدِيثِ هِشَامٍ عَنْ أَبِيهِ عَنِ ابْنِ الزُّبَيْرِ