FR 7466 then V7 2661 at Madrid
Tangier → Madrid → Lyon
Timetable, Madrid time
14:05FR 7466 from Tangier at the gate
12:45V7 2661 to Lyon leaves the gate
22 h 40 apart on the timetable, overnight
V7 2661 leaves 22 h 40 after FR 7466 arrives on the timetable: more than half a day, so not a connection we count.