IB 415 then FR 6267 at Barcelona
Madrid → Barcelona → Edinburgh
Timetable, Barcelona time
16:15IB 415 from Madrid at the gatealso LA 1522, LL 3015, VY 5057, AV 6016, QR 6889, BA 7134, AA 8630
12:30FR 6267 to Edinburgh leaves the gate
20 h 15 apart on the timetable, overnight
FR 6267 leaves 20 h 15 after IB 415 arrives on the timetable: more than half a day, so not a connection we count.