FR 9170 then LA 5792 at Barcelona
Stockholm → Barcelona → Gran Canaria
Timetable, Barcelona time
14:55FR 9170 from Stockholm at the gate
13:55LA 5792 to Gran Canaria leaves the gate
23 h apart on the timetable, overnight
LA 5792 leaves 23 h after FR 9170 arrives on the timetable: more than half a day, so not a connection we count.