UX 194 then IB 1401 at Madrid
Bogota → Madrid → Valencia
Timetable, Madrid time
13:05UX 194 from Bogota at the gate
11:30IB 1401 to Valencia leaves the gate
22 h 25 apart on the timetable, overnight
IB 1401 leaves 22 h 25 after UX 194 arrives on the timetable: more than half a day, so not a connection we count.