3O 391 then IB 409 at Madrid
Tangier → Madrid → Barcelona
Timetable, Madrid time
12:503O 391 from Tangier at the gate
10:25IB 409 to Barcelona leaves the gatealso IB 409S, LA 1624, CX 1827, LL 3009, VY 5116, AV 6078, BA 7129, QR 7246, AA 8727
21 h 35 apart on the timetable, overnight
IB 409 leaves 21 h 35 after 3O 391 arrives on the timetable: more than half a day, so not a connection we count.