A retired Melbourne couple has accused an Uber driver of leaving them stranded because of his religious beliefs.

War veteran Peter Archibald and wife Marian said they could not believe their luck when they won a Christmas ham at their local RSL in Seaford.

Watch the video above

But on trying to get home, they said their Uber driver was not happy to have the item on board.

"He said you can't come in, I'm Muslim and the ride's finished," Archibald said.

War veteran Peter Archibald and wife Marian said they could not believe their luck when they won a Christmas ham. Credit: 7NEWS

"He drove off."

Friends drove the couple, and the ham, home after they were left stuck at the RSL.

More on 7NEWS.com.au

The Archibalds said they were still charged $10 despite being refused the six-minute ride.

"If you're going to work dealing with the public, these things are going to come across, so you have to ask yourself if you're in the right job," Transport Matters MP Rod Barton said.

An Uber spokesperson said if the couple had an issue, they could go to the help section of the Uber app.