FR 4584 then IB 5100 at Barcelona
Porto → Barcelona → Ranon
Timetable, Barcelona time
18:35FR 4584 from Porto at the gate
12:40IB 5100 to Ranon leaves the gate
18 h 05 apart on the timetable, overnight
IB 5100 leaves 18 h 05 after FR 4584 arrives on the timetable: more than half a day, so not a connection we count.