QR 3733 then FR 5252 at Barcelona
Mahón → Barcelona → Krakow
Timetable, Barcelona time
19:25QR 3733 from Mahón at the gate
19:05FR 5252 to Krakow leaves the gate
23 h 40 apart on the timetable, overnight
FR 5252 leaves 23 h 40 after QR 3733 arrives on the timetable: more than half a day, so not a connection we count.