IB 5287 then EC 7151 at Barcelona
Mahón → Barcelona → Milan
Timetable, Barcelona time
09:30IB 5287 from Mahón at the gate
07:30EC 7151 to Milan leaves the gate
22 h apart on the timetable, overnight
EC 7151 leaves 22 h after IB 5287 arrives on the timetable: more than half a day, so not a connection we count.