Sunan Abu Dawud #4865
General Behavior (Kitab Al-Adab) 43:93
Jabir said:
The Messenger of Allah(ﷺ) forbade that a man should lie placing(and according to Qutaibah’s version: “should raise”) one of his legs over the other. Qutaibah’s version adds: When he was lying on his back.