FR 8216 then FR 6267 at Barcelona
London Stansted → Barcelona → Edinburgh
Timetable, Barcelona time
18:40FR 8216 from London Stansted at the gate
17:25FR 6267 to Edinburgh leaves the gate
22 h 45 apart on the timetable, overnight
FR 6267 leaves 22 h 45 after FR 8216 arrives on the timetable: more than half a day, so not a connection we count.