FR 5994 then FR 2436 at Madrid
London Stansted → Madrid → Rome
Timetable, Madrid time
19:45FR 5994 from London Stansted at the gate
18:35FR 2436 to Rome leaves the gate
22 h 50 apart on the timetable, overnight
FR 2436 leaves 22 h 50 after FR 5994 arrives on the timetable: more than half a day, so not a connection we count.