LL 5280 then EC 7155 at Barcelona
Mahón → Barcelona → Milan
Timetable, Barcelona time
18:55LL 5280 from Mahón at the gate
18:40EC 7155 to Milan leaves the gate
23 h 45 apart on the timetable, overnight
EC 7155 leaves 23 h 45 after LL 5280 arrives on the timetable: more than half a day, so not a connection we count.