EC 7154 then LA 5792 at Barcelona
Milan → Barcelona → Gran Canaria
Timetable, Barcelona time
17:15EC 7154 from Milan at the gate
13:55LA 5792 to Gran Canaria leaves the gate
20 h 40 apart on the timetable, overnight
LA 5792 leaves 20 h 40 after EC 7154 arrives on the timetable: more than half a day, so not a connection we count.