IB 712 then IB 1401 at Madrid
London Heathrow → Madrid → Valencia
Timetable, Madrid time
12:50IB 712 from London Heathrow at the gatealso VY 5412, BA 7053, QR 8012
11:30IB 1401 to Valencia leaves the gate
22 h 40 apart on the timetable, overnight
IB 1401 leaves 22 h 40 after IB 712 arrives on the timetable: more than half a day, so not a connection we count.