Ghana will face Nigeria for a place at the 2024 African Nations Championship (CHAN) after both countries were paired at the qualifying draw on Wednesday.
The sides also met ahead of the 2022 finals, with Ghana qualifying via a penalty shoot-out following a 2-2 draw on aggregate.
The 42 entrants for the 2024 tournament, which is for domestic-based players on the continent, have been split into six regional zones.
Five of the zones will provide three qualifiers each but the Cecafa region has been handed a fourth space because Kenya, Tanzania and Uganda will all be involved in the preliminaries despite qualifying automatically as joint hosts.
The Confederation of African Football (Caf) says the team “achieving the best result in the Cecafa qualifiers” will advance.
As a result the finals, which will be held from 1-28 February next year, will feature 19 teams – an increase on the 18-team 2022 edition.
The two rounds of regional qualifiers will take place on a home-and-away basis, with the second round ending on 27-29 December.
Two-time winners Morocco, 2011 champions Tunisia and 2014 winners Libya are the only entrants from the North African region, so are all guaranteed a place at the finals.
CHAN holders Senegal will face either Sierra Leone or Liberia in the second round of qualifying.
Caf has increased the prize money from the previous edition by 60%, with the winners of the 2024 finals set to receive $2m (£1.53m).
The staging of the 2024 CHAN finals in Kenya, Tanzania and Uganda is being seen as a test event before the East African neighbours host the 2027 Africa Cup of Nations.