FR 7396 then IB 818 at Copenhagen
London Stansted → Copenhagen → Madrid
Timetable, Copenhagen time
15:35FR 7396 from London Stansted at the gate
15:30IB 818 to Madrid leaves the gate
23 h 55 apart on the timetable, overnight
IB 818 leaves 23 h 55 after FR 7396 arrives on the timetable: more than half a day, so not a connection we count.