EW 7520 then QR 3590 at Barcelona
Hamburg → Barcelona → Lyon
Timetable, Barcelona time
16:20EW 7520 from Hamburg at the gate
12:15QR 3590 to Lyon leaves the gatealso IB 5466, LL 5466, VY 8126
19 h 55 apart on the timetable, overnight
QR 3590 leaves 19 h 55 after EW 7520 arrives on the timetable: more than half a day, so not a connection we count.