FR 5271 then FR 9045 at Barcelona
Manchester → Barcelona → London Stansted
Timetable, Barcelona time
21:55FR 5271 from Manchester at the gate
19:45FR 9045 to London Stansted leaves the gate
21 h 50 apart on the timetable, overnight
FR 9045 leaves 21 h 50 after FR 5271 arrives on the timetable: more than half a day, so not a connection we count.