Two-time former European champions Benfica were paired with Spartak Moscow in the third qualifying round for this year's Champions League, in the draw in Nyon, Switzerland on Monday.
Benfica to face Spartak Moscow in Champions League qualifying
Benfica have been drawn to face Spartak Moscow in qualifying for the Champions League
Scottish champions Rangers will face Malmo or HJK Helsinki while their Glasgow rivals Celtic will play PSV Eindhoven or Galatasaray if they beat Midtjylland in the second qualifying round.
In other fixtures Genk meet Shakhtar Donetsk while 2004 runners-up Monaco take on either Rapid Vienna or Sparta Prague.
Sides that win at the third qualifying round stage progress to the play-off round, the draw for which takes place on August 2.
Losing sides at the third qualifying round stage drop into the Europa League play-off round.
Champions League third qualifying round draw, first legs Aug 3-4, second legs Aug 10:
Dinamo Zagreb (CRO) or Omonoia (CYP) v Legia Warszawa (POL) or Flora Tallinn (EST), Lincoln Red Imps (GIB) or CFR Cluj (ROU) v Slovan Bratislava (SVK) or Young Boys (SUI), Olympiacos (GRE) or Neftci (AZE) v Mura (SVN) or Ludogorets (BUL), Kairat Almaty (KAZ) or Red Star Belgrade (SRB) v Alashkert (ARM) or Sheriff Tiraspol (MDA), Malmo (SWE) or HJK Helsinki (FIN) v Rangers (SCO), Ferencvaros (HUN) or Zalgiris Vilnius (LTU) v Slavia Prague (CZE), PSV Eindhoven (NED) or Galatasaray (TUR) v Celtic (SCO) or Midtjylland (DEN), Spartak Moscow (RUS) v Benfica (POR), Genk (BEL) v Shakhtar Donetsk (UKR), Monaco (FRA) v Rapid Wien (AUT) or Sparta Praha (CZE)