IB 5089 then IB 5092 at Barcelona
Almeria → Barcelona → Porto
Timetable, Barcelona time
16:10IB 5089 from Almeria at the gate
13:00IB 5092 to Porto leaves the gate
20 h 50 apart on the timetable, overnight
IB 5092 leaves 20 h 50 after IB 5089 arrives on the timetable: more than half a day, so not a connection we count.