Hearts have been drawn to face Edinburgh rivals Hibernian in the fifth round of the Scottish Cup.

The derby tie, which will take place at Tynecastle, was the last to be drawn at Hampden.

Cup favourites Celtic will face the winners of the match between East Kilbride or Lothian Thistle.

Rangers will take on Premiership opposition in the form of Gary Locke's Kilmarnock while Annan's reward for beating Hamilton is a home tie against Morton.

Holders Inverness CT will face Motherwell if they beat Stirling Albion in a replay.

The ties are due to be played on the weekend of February 6 and 7.

Dundee announced their fourth round tie, which was due to be played on Tuesday, January 12 has been moved back to January 26.

Motherwell v Inverness CT or Stirling Albion

East Kilbride or Lothian Thistle v Celtic

Dundee United v Partick Thistle

Dunfermline or Ross County v Linlithgow Rose or Forfar Athletic

Rangers v Kilmarnock

Annan Athletic v Greenock Morton

Dumbarton v Dundee or Falkirk

Hearts v Hibernian