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