By TMZ

Boxing legend Leon Spinks -- who famously beat Muhammad Ali in 1978 -- is hospitalized in Las Vegas, TMZ Sports has learned ... and his friends say the situation is very serious.

We're told the situation seemed dire at first ... but Spinks seems to be doing better.

Leon's good friend Tony Orlando -- the famous singer -- is asking people to "Please pray for my friend Leon Spinks" ... and said the boxer is "facing the greatest fight of his life."