UX 1172 then IB 2296 at Madrid
Brussels → Madrid → Melilla
Timetable, Madrid time
13:15UX 1172 from Brussels at the gate
12:35IB 2296 to Melilla leaves the gatealso VY 5696
23 h 20 apart on the timetable, overnight
IB 2296 leaves 23 h 20 after UX 1172 arrives on the timetable: more than half a day, so not a connection we count.