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