FR 5994 then FR 154 at Madrid
London Stansted → Madrid → Bristol
Timetable, Madrid time
12:45FR 5994 from London Stansted at the gate
06:35FR 154 to Bristol leaves the gate
17 h 50 apart on the timetable, overnight
FR 154 leaves 17 h 50 after FR 5994 arrives on the timetable: more than half a day, so not a connection we count.