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