FR 3877 then VY 1009 at Madrid
Tangier → Madrid → Barcelona
Timetable, Madrid time
22:35FR 3877 from Tangier at the gate
19:35VY 1009 to Barcelona leaves the gatealso QR 5530, IB 5993, LL 5993
21 h apart on the timetable, overnight
VY 1009 leaves 21 h after FR 3877 arrives on the timetable: more than half a day, so not a connection we count.