IB 2291 then AA 37 at Madrid
Melilla → Madrid → Dallas-Fort Worth
Timetable, Madrid time
10:40IB 2291 from Melilla at the gatealso VY 5691, QR 6569
10:00AA 37 to Dallas-Fort Worth leaves the gatealso BA 1513, AY 3743, IB 4608
23 h 20 apart on the timetable, overnight
AA 37 leaves 23 h 20 after IB 2291 arrives on the timetable: more than half a day, so not a connection we count.