IB 415 then FR 8631 at Barcelona
Madrid → Barcelona → Tangier
Timetable, Barcelona time
16:15IB 415 from Madrid at the gatealso LA 1522, LL 3015, VY 5057, AV 6016, QR 6889, BA 7134, AA 8630
05:55FR 8631 to Tangier leaves the gate
13 h 40 apart on the timetable, overnight
FR 8631 leaves 13 h 40 after IB 415 arrives on the timetable: more than half a day, so not a connection we count.