FR 8216 then EC 7199 at Barcelona
London Stansted → Barcelona → Edinburgh
Timetable, Barcelona time
18:40FR 8216 from London Stansted at the gate
07:20EC 7199 to Edinburgh leaves the gate
12 h 40 apart on the timetable, overnight
EC 7199 leaves 12 h 40 after FR 8216 arrives on the timetable: more than half a day, so not a connection we count.