FR 3122 then FR 4597 at Barcelona
Beauvais → Barcelona → Porto
Timetable, Barcelona time
15:55FR 3122 from Beauvais at the gate
15:00FR 4597 to Porto leaves the gate
23 h 05 apart on the timetable, overnight
FR 4597 leaves 23 h 05 after FR 3122 arrives on the timetable: more than half a day, so not a connection we count.