UX 194 then IB 2296 at Madrid
Bogota → Madrid → Melilla
Timetable, Madrid time
13:10UX 194 from Bogota at the gatealso EY 7548
12:35IB 2296 to Melilla leaves the gatealso VY 5696
23 h 25 apart on the timetable, overnight
IB 2296 leaves 23 h 25 after UX 194 arrives on the timetable: more than half a day, so not a connection we count.