QR 3676 then EW 9511 at Madrid
Firenze → Madrid → Düsseldorf
Timetable, Madrid time
14:00QR 3676 from Firenze at the gate
13:10EW 9511 to Düsseldorf leaves the gate
23 h 10 apart on the timetable, overnight
EW 9511 leaves 23 h 10 after QR 3676 arrives on the timetable: more than half a day, so not a connection we count.