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