Second-tier side Raith have been handed a potential tie at home to Celtic, following the draw for the Scottish Cup fifth round.
Raith, fourth in the Scottish First Division, will play the winner of Celtic and Arbroath, who meet in a fourth-round replay on December 12.
Rangers will play Scottish Premier League opposition in Dundee United, while Hibernian will meet either Aberdeen or Motherwell in one of the picks of the round.
Scottish Cup fifth-round draw:
Raith v Celtic/Arbroath
St Mirren v Cowdenbeath/St Johnstone
Dunfermline v Dumbarton/Hamilton
Hibernian v Aberdeen/Motherwell
Falkirk v Forfar
Dundee United v Rangers
Dundee v Turriff/Morton
Kilmarnock v Inverness/Ross County.
Ties are to be played on the weekend of February 2 and 3, 2013.
Information from Press Association was used in this report.