BA 460 then IB 1401 at Madrid
London Heathrow → Madrid → Valencia
Timetable, Madrid time
12:20BA 460 from London Heathrow at the gate
11:30IB 1401 to Valencia leaves the gate
23 h 10 apart on the timetable, overnight
IB 1401 leaves 23 h 10 after BA 460 arrives on the timetable: more than half a day, so not a connection we count.