FR 3813 then FR 2389 at Madrid
Bologna → Madrid → Tetouan
Timetable, Madrid time
21:35FR 3813 from Bologna at the gate
13:15FR 2389 to Tetouan leaves the gate
15 h 40 apart on the timetable, overnight
FR 2389 leaves 15 h 40 after FR 3813 arrives on the timetable: more than half a day, so not a connection we count.