EC 7152 then FR 6267 at Barcelona
Milan → Barcelona → Edinburgh
Timetable, Barcelona time
14:25EC 7152 from Milan at the gate
12:30FR 6267 to Edinburgh leaves the gate
22 h 05 apart on the timetable, overnight
FR 6267 leaves 22 h 05 after EC 7152 arrives on the timetable: more than half a day, so not a connection we count.