FR 6301 then FR 8217 at Barcelona
Sofia → Barcelona → London Stansted
Timetable, Barcelona time
23:15FR 6301 from Sofia at the gate
18:55FR 8217 to London Stansted leaves the gate
19 h 40 apart on the timetable, overnight
FR 8217 leaves 19 h 40 after FR 6301 arrives on the timetable: more than half a day, so not a connection we count.