IB 1238 then FR 2389 at Madrid
Bologna → Madrid → Tetouan
Timetable, Madrid time
14:55IB 1238 from Bologna at the gatealso VY 5551, QR 6542
13:15FR 2389 to Tetouan leaves the gate
22 h 20 apart on the timetable, overnight
FR 2389 leaves 22 h 20 after IB 1238 arrives on the timetable: more than half a day, so not a connection we count.