Abdullah bin 'Umar used to say:
If a man has only one garment, let him wrap it around his waist and then pray, for I heard 'Umar bin al-Khattab say that, and he said: Do not wrap it around the whole body if it is only one garment, as the Jews do. Nati' said: If I tell you that he attributed that to the Messenger of Allah ﷺ, I hope that I would not be lying.