Celtic are at home to Raith Rovers while Rangers travel to Annan Athletic in the fifth round of the Scottish Cup.
The draw for the next round of the competition has set up two all-Premiership ties with Motherwell at home to Aberdeen and Hearts playing host to Livingston.
League 2 side Kelty Hearts have been rewarded for their heroics in knocking out holders St Johnstone with a trip to face St Mirren in Paisley, while Championship leaders Arbroath will welcome Hibernian to Gayfield.
Peterhead have been given a home draw and they will face Dundee, while Dundee United will travel to play Partick Thistle at Firhill.
Matches will be played on the weekend of February 12.
Scottish Cup fifth round draw in full
Motherwell v Aberdeen
Celtic v Raith Rovers
Arbroath v Hibernian
Annan Athletic v Rangers
Hearts v Livingston
Peterhead v Dundee
Partick Thistle v Dundee United
St Mirren v Kelty Hearts