LA 5798 then VY 3004 at Barcelona
Lisbon → Barcelona → Gran Canaria
Timetable, Barcelona time
23:55LA 5798 from Lisbon at the gate
12:00VY 3004 to Gran Canaria leaves the gatealso IB 5218, LL 5218
12 h 05 apart on the timetable, overnight
VY 3004 leaves 12 h 05 after LA 5798 arrives on the timetable: more than half a day, so not a connection we count.