FR 3036 then FR 2889 at Barcelona
Krakow → Barcelona → Palma de Mallorca
Timetable, Barcelona time
10:30FR 3036 from Krakow at the gate
07:30FR 2889 to Palma de Mallorca leaves the gate
21 h apart on the timetable, overnight
FR 2889 leaves 21 h after FR 3036 arrives on the timetable: more than half a day, so not a connection we count.