FR 5996 then FR 2513 at Madrid
London Stansted → Madrid → Bucharest
Timetable, Madrid time
00:15FR 5996 from London Stansted at the gate
16:40FR 2513 to Bucharest leaves the gate
16 h 25 apart on the timetable
FR 2513 leaves 16 h 25 after FR 5996 arrives on the timetable: more than half a day, so not a connection we count.