EC 7154 then IB 5224 at Barcelona
Milan → Barcelona → Gran Canaria
Timetable, Barcelona time
23:15EC 7154 from Milan at the gate
20:45IB 5224 to Gran Canaria leaves the gate
21 h 30 apart on the timetable, overnight
IB 5224 leaves 21 h 30 after EC 7154 arrives on the timetable: more than half a day, so not a connection we count.