A driver has been pictured sitting on the roof of his car which was hit by flash flooding in Edinburgh.

The image was shared on Twitter where users from across the UK have been posting images of the heavy rain which has battered parts of the country, leaving many areas flooded.

The June washout is set to continue on Tuesday, with severe weather warnings for rain and thunderstorms covering large parts of the UK.

However, later in the week temperatures are expected to rise above 30C (86F) in parts of the UK.

Monday's downpours caused significant disruption in Scotland, with Edinburgh particularly badly affected as several roads were closed and tram services were suspended.

Footage posted on social media showed one man had resorted to sitting on the roof of his car in the city, with the vehicle not appearing to move through the flooded street in Corstorphine.

While an Edinburgh West MP showed the effect of the heavy rain at her constituency office.

The Lib Dems' Christine Jardine posted a video on Twitter from inside the building on St John’s Road as water crashed against the front window.

Elsewhere at a Farmfoods in Leven, Fife, video showed rain pouring into the store from the ceiling.

Darryl, 34, who filmed the footage, said: “As we got to the till we saw the tiles from the roof come crashing down followed by a substantial amount of water.

“The electric cables were hanging down from the roof and it was starting to get unsafe.”

ScotRail also warned passengers that services were running at either reduced speed or being delayed due to flooding on the line between Edinburgh and Glasgow.

Hot air moving in from continental Europe will bring drier, sunnier and warmer conditions later in the week, and by Saturday parts of London could get as hot as 35C.

As the week progresses the heat is forecast to build, with southern areas getting the hottest weather.

Peak temperatures across much of England and Wales are predicted to be well above 20C all week.

Scotland and Northern Ireland will be slightly cooler, although the mercury is expected to rise above 20C on Saturday.

The UK's warmest June was in 1976. Credit: PA Graphics

However, compared to weather in continental Europe, that predicted for the UK is mild.

Met Office spokesperson Nicola Maxey explained: “The continent is seeing some very high temperatures, with record-breaking temperatures expected across France, Spain and Belgium.

“We are not seeing temperatures as hot as Europe, but it will be warm for the UK.

“By Saturday we could be looking at 30C in the South, with London looking at 30C but with isolated spots of 33C, 34C or 35C, maybe.”

The June record is 35.6C, set in Southampton in 1978.

Last year’s record for June, a month when the UK was hit by a series of wildfires, was 33C at Porthmadog in Gwynedd.

Glastonbury festival-goers will be treated to consistently warm and dry weather, with temperatures expected to largely remain in the mid to high 20s throughout the weekend.