The Messenger of Allah (ﷺ) prohibited us to pray in a sheet of cloth without crossing both its ends, and he also prohibited us to pray in a wrapper without putting on a sheet.
Sunan Abi Dawud Book 2, Hadith 246