FR 8630 then FR 8231 at Barcelona
Tangier → Barcelona → London Stansted
Timetable, Barcelona time
15:10FR 8630 from Tangier at the gate
08:15FR 8231 to London Stansted leaves the gate
17 h 05 apart on the timetable, overnight
FR 8231 leaves 17 h 05 after FR 8630 arrives on the timetable: more than half a day, so not a connection we count.