[Machine] The companions of the Messenger of Allah ﷺ used to prostrate with their hands on their clothes. And a man among them would prostrate on his turban. The first narration suggests that what is meant is a separate garment from it, and this suggests that the man intended to prostrate on his turban and forehead. However, it is more cautious to prostrate for the purpose of prayer. And with Allah is the success.
كَانَ أَصْحَابُ رَسُولِ اللهِ ﷺ يَسْجُدُونَ وَأَيْدِيهِمْ فِي ثِيَابِهِمْ وَيَسْجُدُ الرَّجُلُ مِنْهُمْ عَلَى عِمَامَتِهِ وَالْحَدِيثُ الْأَوَّلُ يَحْتَمِلُ أَنْ يَكُونَ الْمُرَادُ بِهِ ثَوْبًا مُنْفَصِلًا عَنْهُ وَهَذَا يَحْتَمِلُ أَنْ يَكُونَ أَرَادَ يَسْجُدُ الرَّجُلُ مِنْهُمْ عَلَى عِمَامَتِهِ وَجَبْهَتِهِ وَالِاحْتِيَاطُ لِغَرَضِ السُّجُودِ أَوْلَى وَبِاللهِ التَّوْفِيقُ