QR 3711 then FR 6874 at Barcelona
Mahón → Barcelona → Dublin
Timetable, Barcelona time
14:40QR 3711 from Mahón at the gate
10:20FR 6874 to Dublin leaves the gate
19 h 40 apart on the timetable, overnight
FR 6874 leaves 19 h 40 after QR 3711 arrives on the timetable: more than half a day, so not a connection we count.