A Scot who was sentenced to three months in a Dubai jail for touching a man's hip is heading back to Scotland

Jamie Harron is due on a flight to Glasgow today, and is expected to arrive back on home soil this evening. 

The 27-year-old, from Stirling, was arrested in July over the incident in which he said he put his hand on a man's hip to avoid spilling a drink in a crowded bar.

Campaign group Detained in Dubai (DiD) said he was sentenced to three months imprisonment at court on Sunday, but has now had his passport returned.

Ruler of the emirate Sheikh Mohammed bin Rashid Al Maktoum made a special order for cases against Jamie Harron to be dismissed on Monday.

Radha Stirling, CEO of DiD, said: "He's coming back to Glasgow on an evening flight and is leaving Dubai imminently."

READ MORE: How to get arrested in Dubai 

The Herald: Mr Harron with parents Graham and PatriciaMr Harron with parents Graham and Patricia

READ MORE: Parents told 'not to visit' Dubai Scot.

The electrician had been working in Afghanistan and was on a two-day stopover in the United Arab Emirates at the time of the incident.

A public indecency charge was made after Mr Harron is said to have been holding a drink moving through a crowded bar and held a hand in front of him to avoid spilling it on himself or others. He then ''touched a man on his hip to avoid impact''.

He was initially jailed for five days and then released on bail with his passport confiscated.

After his arrest, he lost his job and was told he could have faced up to three years in jail.

Before his hearing on Sunday, he had already been sentenced in absentia to 30 days in prison for failing to appear in court for making a rude gesture and drinking alcohol during the same July incident.

DiD had said both decisions would be appealed against, but Mr Harron was then called by police in Dubai on Monday morning telling him the cases against him had been dismissed and he could collect his passport.

READ MORE: 'Cultural misunderstanding' leaves Scot facing three months in jail.

The Herald: Oil Worker Mr Harron was on a two-day stopoverOil Worker Mr Harron was on a two-day stopover