Sayyiduna Talq bin Ali (may Allah be pleased with him) narrates: "We set out as a delegation towards the Prophet (peace and blessings be upon him) until we reached him (peace and blessings be upon him); we pledged allegiance to him (peace and blessings be upon him) and prayed with him (peace and blessings be upon him). Then a man came who seemed to be a Bedouin, and he said: 'O Messenger of Allah, what is your ruling about a man touching his private part during the prayer?' He (peace and blessings be upon him) said: 'Is it not just a lump of flesh or a part (of the body)?'"
Abu Rawh (may Allah have mercy on him) narrated it thus (with the doubt).
Sayyiduna Talq (may Allah be pleased with him) said: "Then another man came and said: 'O Messenger of Allah, what is your ruling about praying in a single garment?' So the Messenger of Allah (peace and blessings be upon him) undid his waist-wrapper and placed his upper wrap over it, then wrapped himself in both, stood up and led us in prayer, then said: 'Does every one of you have two garments?'"
Related hadith on this topic