FR 9673 then FR 348 at Madrid
Rome → Madrid → London Stansted
Timetable, Madrid time
23:30FR 9673 from Rome at the gate
17:10FR 348 to London Stansted leaves the gate
17 h 40 apart on the timetable, overnight
FR 348 leaves 17 h 40 after FR 9673 arrives on the timetable: more than half a day, so not a connection we count.