EW 7520 then VY 7124 at Barcelona
Hamburg → Barcelona → Dakar
Timetable, Barcelona time
18:20EW 7520 from Hamburg at the gate
14:10VY 7124 to Dakar leaves the gate
19 h 50 apart on the timetable, overnight
VY 7124 leaves 19 h 50 after EW 7520 arrives on the timetable: more than half a day, so not a connection we count.