The bottom line is this, no medical explanation that prohibit sleeping on your front other than if you have a belly, in which you put pressure on your back and chest.
Many scentists suggest fetal position, or on your side perfectly normal. And on your back, while safest, you have to move during the night to avoid sour muscles. So the context of the following hadith simply show that Muhammad was just obsessed with feeling in control. He loved to tell people anything, control women, control children, control how to enter toilet and what to say when we burp or when we fart! It is just ridiculous!!
Ya’eesh ibn Tihfah al-Ghifaari reported that his father said: “I stayed as a guest with the Messenger of Allaah (peace and blessings of Allaah be upon him) with those of the poor whom he hosted. The Messenger of Allaah (peace and blessings of Allaah be upon him) came out in the night to check up on his guests, and saw me lying on my stomach. He prodded me with his foot and said, ‘Do not lie in this manner, for it is a way of lying that Allaah hates.’” According to another report, the Prophet (peace and blessings of Allaah be upon him) prodded him with his foot and woke him up, and said, “Do not lie like this, for this is how the people of Hell lie.” Thus, some have suggested the Shaytan will take advantage of you. I have slept on all sides, never care which side I sleep. I always have a nice restful night. I think having a foam mattress is heaven! Muhammad should have tried that and I sure he would love it…or made it haram…I don’t know…half the shit he says makes no sense. You only get to read the stuff we manage to justify!!
The same sets of hadiths have things like:
– Water mixed with dead dogs and menstrual clothes still clean
– Sheep owners are humble while horse and camel owners are arrogant
– Say no to green jars and white jars
– Silverware is Sin
– A crying tree misses the Prophet’s sermons
-The Prophet Gives Salutations to a Stone
-One sneeze, two sneeze, three sneeze, four
And many more ridiculous stuff you can read here: https://wikiislam.net/wiki/Qur%27an,_Hadith_and_Scholars:_Remarkable_and_Strange_Islamic_Traditions