IB 5225 then IB 5798 at Barcelona
Gran Canaria → Barcelona → Cagliari
Timetable, Barcelona time
19:00IB 5225 from Gran Canaria at the gate
07:15IB 5798 to Cagliari leaves the gatealso LL 5798, VY 6114
12 h 15 apart on the timetable, overnight
IB 5798 leaves 12 h 15 after IB 5225 arrives on the timetable: more than half a day, so not a connection we count.