BA 2202 then VY 7627 at Gatwick
Cancún → London → Barcelona
Timetable, London time
09:00BA 2202 from Cancún at the gate
21:45VY 7627 to Barcelona leaves the gate
12 h 45 apart on the timetable
VY 7627 leaves 12 h 45 after BA 2202 arrives on the timetable: more than half a day, so not a connection we count.