FR 4586 then QR 3594 at Barcelona
Porto → Barcelona → Firenze
Timetable, Barcelona time
22:20FR 4586 from Porto at the gate
13:50QR 3594 to Firenze leaves the gate
15 h 30 apart on the timetable, overnight
QR 3594 leaves 15 h 30 after FR 4586 arrives on the timetable: more than half a day, so not a connection we count.