Two prisoners serving life sentences who say rules which bar them from voting in the Scottish independence referendum breach their human rights are taking a legal fight to the UK's highest court,

The Supreme Court is due to analyse their claims at a hearing in London on July 24.

A Supreme Court spokeswoman today said a panel of justices would analyse provisions prohibiting prisoner voting contained in the Scottish Independence Referendum (Franchise) Act 2013.

"This appeal concerns provisions prohibiting prisoners voting in the forthcoming Scottish Independence Referendum. The case is brought by two prisoners, both British nationals serving life sentences," said the spokeswoman.

"They petitioned for judicial review of the voting provisions of the Scottish Independence Referendum (Franchise) Act 2013, alleging that the prohibition on their voting was incompatible with their rights."

She said their claims had already been dismissed by judges in Scotland.

The spokeswoman said justices analysing the claims brought by Leslie Moohan and Andrew Gillon would consider a series of legal questions.

She said justices would debate whether provisions prohibiting prisoner voting were incompatible with the European Convention on Human Rights and whether they breached the common law right to vote.