FR 132 then IB 5142 at Barcelona
Berlin → Barcelona → Alicante
Timetable, Barcelona time
22:35FR 132 from Berlin at the gate
21:45IB 5142 to Alicante leaves the gate
23 h 10 apart on the timetable, overnight
IB 5142 leaves 23 h 10 after FR 132 arrives on the timetable: more than half a day, so not a connection we count.