[Machine] About the prayer of the Messenger of Allah, ﷺ , in battles, Hajj, and Umrah, a person came to him and stood in front of us and said, "The Prophet asked me about a matter, and I wanted you to hear it." He then mentioned that he marched with the Messenger of Allah, ﷺ , and he did not pray except for two Rak'ahs until he returned to Al-Madinah. He also mentioned that he performed Hajj with the Messenger of Allah, ﷺ , and he did not pray except for two Rak'ahs until he returned to Al-Madinah. He witnessed the victory with him, and he stayed in Makkah for eighteen days, where he did not pray except for two Rak'ahs, and he advised the people of the city to pray four Rak'ahs, saying that they were traveling. He also mentioned that he performed Umrah with the Messenger of Allah, ﷺ , three times, and he did not pray except for two Rak'ahs. He also mentioned that he performed Hajj with Abu Bakr and Umar, and they did not pray except for two Rak'ahs until they returned to Al-Madinah.
عَنْ صَلَاةِ رَسُولِ اللهِ ﷺ فِي الْغَزْوِ وَالْحَجِّ وَالْعُمْرَةِ فَجَاءَ فَوَقَفَ عَلَيْنَا فَقَالَ إِنَّ هَذَا سَأَلَنِي عَنْ أَمْرٍ فَأَرَدْتُ أَنْ تَسْمَعُوهُ أَوْ كَمَا قَالَ غَزَوْتُ مَعَ رَسُولِ اللهِ ﷺ فَلَمْ يُصَلِّ إِلَّا رَكْعَتَيْنِ حَتَّى رَجَعَ إِلَى الْمَدِينَةِ وَحَجَجْتُ مَعَهُ فَلَمْ يُصَلِّ إِلَّا رَكْعَتَيْنِ حَتَّى رَجَعَ إِلَى الْمَدِينَةِ وَشَهِدْتُ مَعَهُ الْفَتْحَ فَأَقَامَ بِمَكَّةَ ثَمَانِي عَشْرَةَ لَا يُصَلِّي إِلَّا رَكْعَتَيْنِ وَيَقُولُ لِأَهْلِ الْبَلَدِ صَلُّوا أَرْبَعًا؛ فَإِنَّا سَفْرٌ وَاعْتَمَرْتُ مَعَهُ ثَلَاثَ عُمَرٍ فَلَمْ يُصَلِّ إِلَّا رَكْعَتَيْنِ وَحَجَجْتُ مَعَ أَبِي بَكْرٍ وَعُمَرَ حَجَّاتٍ فَلَمْ يُصَلِّيَا إِلَّا رَكْعَتَيْنِحَتَّى رَجَعَا إِلَى الْمَدِينَةِ