U2 872 then FR 2715 at Gatwick
Glasgow → London → Alicante
Timetable, London time
14:15U2 872 from Glasgow at the gate
13:30FR 2715 to Alicante leaves the gate
23 h 15 apart on the timetable, overnight
FR 2715 leaves 23 h 15 after U2 872 arrives on the timetable: more than half a day, so not a connection we count.