QR 3686 then FR 4545 at Barcelona
Lyon → Barcelona → Porto
Timetable, Barcelona time
18:05QR 3686 from Lyon at the gate
17:15FR 4545 to Porto leaves the gate
23 h 10 apart on the timetable, overnight
FR 4545 leaves 23 h 10 after QR 3686 arrives on the timetable: more than half a day, so not a connection we count.