EW 7520 then AH 2019 at Barcelona
Hamburg → Barcelona → Oran
Timetable, Barcelona time
18:45EW 7520 from Hamburg at the gate
12:50AH 2019 to Oran leaves the gate
18 h 05 apart on the timetable, overnight
AH 2019 leaves 18 h 05 after EW 7520 arrives on the timetable: more than half a day, so not a connection we count.