Tom Daley in hospital just days before wedding

Tom Daley is in hospital ahead of his wedding to Dustin Lance Black this weekend.

The Olympic diver posted a picture on Twitter from his hospital bed late on Thursday with a hashtag that suggests he may have been injured during training:

However, the 22-year-old appeared in good spirits as he held a cup to the camera and vowed to be "Back on the board soon."

He later tweeted that his hips "needed some help" in reply to a concerned fan.

He is set to walk down the aisle with Hollywood film producer Lance Black, 42, on Sunday.