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