The Messenger of Allah ﷺ was asked about praying in a single garment, and the Prophet ﷺ replied, "Does every one of you have two garments?"
حدثنا القعنبي عن مالك عن ابن شهاب عن سعيد بن المسيب
أن رسول الله ﷺ سئل عن الصلاة في ثوب واحد فقال النبي ﷺ أولكلكم ثوبان
Bukhari, Prayer, chapter: Prayer in a single garment wrapped around oneself, h: 358, and Muslim, Prayer, chapter: Prayer in a single garment and how to wear it, h: 515, from the hadith of Malik, and it is in Muwatta (Yahya): 1/140.