Celtic and Rangers will both play at home in the third round of the Scottish League Cup.
The Bhoys have been drawn against Championship side Raith Rovers, while Rangers will welcome St Johnstone to Ibrox.
Hibernian will play Aberdeen at Easter Road in one of only two all-Premiership ties with Hearts travelling to Kilmarnock.
In the remaining ties, Dunfermline Athletic travel to Dundee United, Livingston will host Inverness Caledonian Thistle, Ross County meet Falkirk and Greenock Morton will play Motherwell.
Matches will be played on September 22 and 23.
Full third-round draw: Kilmarnock vs. Hearts, Livingston vs. Inverness Caledonian Thistle, Ross County vs. Falkirk, Rangers vs. St Johnstone, Celtic vs. Raith Rovers, Greenock Morton vs. Motherwell, Dundee United vs. Dunfermline Athletic, Hibernian vs. Aberdeen