FR 4584 then LA 5776 at Barcelona
Porto → Barcelona → Mahón
Timetable, Barcelona time
18:35FR 4584 from Porto at the gate
12:00LA 5776 to Mahón leaves the gate
17 h 25 apart on the timetable, overnight
LA 5776 leaves 17 h 25 after FR 4584 arrives on the timetable: more than half a day, so not a connection we count.