UFC contender Ray Borg told TMZ Sports he felt "fantastic" -- and was in the best shape of his life -- just 24 hours before backing out of his UFC 215 fight against Demetrious Johnson.

Borg pulled out of Saturday's main event on Thursday after coming down with a viral illness. The UFC issued a statement saying he was "deemed unfit to compete by the UFC medical team."

But one day before the cancellation, Borg appeared to be feeling great -- telling us, "I feel fantastic man, weight's good, feeling sharp. Best shape I've ever been in my life."

He added, "I feel really good about this whole entire camp and this fight in general."

The fight is expected to be rescheduled -- it could be as soon as UFC 216 in October.