Forfar win on penalties to settle a thriller against Brechin and set up a Scottish Cup fifth-round tie with St Johnstone.
Stranraer come from behind to see off Clyde and set up a Scottish Cup fifth-round tie at home to Inverness CT.
St Mirren set up a Scottish Cup fifth round tie against Dundee United after defeating Queen of the South in Paisley.
St MIrren ease past Queen of the South while Stranraer and Forfar also progress to the last 16 of the Scottish Cup.
Ryan Thomson's header secures victory for Dunfermline over Ayr to set up a Scottish Cup meeting with Rangers.
Scottish FA president Campbell Ogilvie vows to work with clubs to stop fans firing flares at football matches.
Holders Celtic host Aberdeen as Hibernian face Raith Rovers after the draw for the Scottish Cup fifth round.
Scottish Cup holders Celtic are drawn to face Aberdeen in the last 16 and Albion Rovers will take on Stenhousemuir.
Celtic boss Neil Lennon says his side's 7-0 mauling of Hearts was the team's best performance in his 200 games in charge.
Kris Commons' hat-trick helps Celtic trounce Hearts to progress in the Scottish Cup and soothe their European exit pain.
Aberdeen defeat Partick Thistle for the third time in as many months to end the Jags' hopes of Scottish Cup glory.
Celtic thrash Hearts 7-0 in the Scottish Cup fourth round after Andrew Considine's header earned Aberdeen a win at Partick Thistle.
Stranraer's Frank McKeown plays a Scottish Cup tie after overnight firefighter duties at the Glasgow helicopter crash.
Albion Rovers' Gary Phillips says scoring the winner against Motherwell is the best feeling of his career.
Martyn Fotheringham's stoppage time equaliser for Forfar earns a Scottish Cup replay in their derby at Brechin.
Ross McNeil scores twice as Stenhousemuir overcome Fraserburgh in the fourth round of the Scottish Cup.
Dumbarton beat Berwick Rangers to book their place in the Scottish Cup last 16 for the first time in 29 years.
Inverness convert two penalties as they beat Greenock Morton in the fourth round of the Scottish Cup.
Alloa Athletic beat local rivals Stirling Albion in a five-goal Scottish Cup thriller at Recreation Park.
Jamie Longworth's strike at Broadwood earns a Scottish Cup fourth-round replay for Stranraer against Clyde.