FR 573 then IB 2290 at Madrid
Porto → Madrid → Melilla
Timetable, Madrid time
15:55FR 573 from Porto at the gate
11:25IB 2290 to Melilla leaves the gatealso QR 5352, VY 5690
19 h 30 apart on the timetable, overnight
IB 2290 leaves 19 h 30 after FR 573 arrives on the timetable: more than half a day, so not a connection we count.