U2 2707 then FR 5997 at Madrid
Bristol → Madrid → London Stansted
Timetable, Madrid time
20:15U2 2707 from Bristol at the gate
18:55FR 5997 to London Stansted leaves the gate
22 h 40 apart on the timetable, overnight
FR 5997 leaves 22 h 40 after U2 2707 arrives on the timetable: more than half a day, so not a connection we count.