[Machine] Abu Jahl bin Hudaifah presented a Syrian garment with a flag on it as a gift to the Messenger of Allah ﷺ . He wore it during prayer, and when he finished, he said, "Return this garment to Abu Jahl, for I looked at its flag during prayer, and it almost distracted me." Al-Shafi'i said, "We did not know if he prostrated due to forgetfulness." Abu Talhah looked at a wall and mentioned this to the Prophet ﷺ , but we do not know if he commanded him to prostrate for forgetfulness.
أَهْدَى أَبُو جَهْمِ بْنُ حُذَيْفَةَ لِرَسُولِ اللهِ ﷺ خَمِيصَةً شَامِيَّةً لَهَا عَلَمٌ فَشَهِدَ فِيهَا الصَّلَاةَ فَلَمَّا انْصَرَفَ قَالَ رُدُّوا هَذِهِ الْخَمِيصَةَ إِلَى أَبِي جَهْمٍ فَإِنِّي نَظَرْتُ إِلَى عَلَمِهَا فِي الصَّلَاةِ فَكَادَ يَفْتِنُنِي قَالَ الشَّافِعِيُّ فَلَمْ نَعْلَمْهُ سَجَدَ السَّهْوَ وَنَظَرَ أَبُو طَلْحَةَ إِلَى حَائِطٍ فَذَكَرَ ذَلِكَ لِلنَّبِيِّ ﷺ فَلَمْ نَعْلَمْهُ أَمَرَهُ أَنْ يَسْجُدَ لِلسَّهْوِ