EW 2520 then VY 7124 at Barcelona
Stuttgart → Barcelona → Dakar
Timetable, Barcelona time
14:25EW 2520 from Stuttgart at the gate
14:10VY 7124 to Dakar leaves the gate
23 h 45 apart on the timetable, overnight
VY 7124 leaves 23 h 45 after EW 2520 arrives on the timetable: more than half a day, so not a connection we count.