The Messenger of Allah ﷺ said, or perhaps it was Umar who said, "If one of you has two garments, let him pray in them. If he has only a single garment, let him wrap it around his waist as a lower garment, and let him not drape it over himself in the manner of the Jews."
حدثنا سليمان بن حرب حدثنا حماد بن زيد عن أيوب عن نافع
قال رسول الله ﷺ أو قال قال عمر رضي الله عنه إذا كان لأحدكم ثوبان فليصل فيهما فإن لم يكن إلا ثوب واحد فليتزر به ولا يشتمل اشتمال اليهود
[Its isnad is sahih]. Ahmad narrated it: 2/148, from the hadith of Nafi, through him. Ibn Khuzayma graded it sahih, no. 766, from the hadith of Ayub, and the hadith has many corroborating narrations.