3O 641 then QR 3623 at Barcelona
Tangier → Barcelona → Firenze
Timetable, Barcelona time
22:203O 641 from Tangier at the gate
21:10QR 3623 to Firenze leaves the gate
22 h 50 apart on the timetable, overnight
QR 3623 leaves 22 h 50 after 3O 641 arrives on the timetable: more than half a day, so not a connection we count.