IB 712 then IB 2296 at Madrid
London Heathrow → Madrid → Melilla
Timetable, Madrid time
12:50IB 712 from London Heathrow at the gatealso VY 5412, BA 7053, QR 8012
12:35IB 2296 to Melilla leaves the gatealso VY 5696
23 h 45 apart on the timetable, overnight
IB 2296 leaves 23 h 45 after IB 712 arrives on the timetable: more than half a day, so not a connection we count.