IB 5379 then LA 5792 at Barcelona
Santander → Barcelona → Gran Canaria
Timetable, Barcelona time
19:15IB 5379 from Santander at the gate
13:55LA 5792 to Gran Canaria leaves the gate
18 h 40 apart on the timetable, overnight
LA 5792 leaves 18 h 40 after IB 5379 arrives on the timetable: more than half a day, so not a connection we count.