FR 4596 then IB 5138 at Barcelona
Porto → Barcelona → Alicante
Timetable, Barcelona time
00:50FR 4596 from Porto at the gate
18:00IB 5138 to Alicante leaves the gate
17 h 10 apart on the timetable
IB 5138 leaves 17 h 10 after FR 4596 arrives on the timetable: more than half a day, so not a connection we count.