FR 3036 then FR 483 at Barcelona
Krakow → Barcelona → Málaga
Timetable, Barcelona time
10:30FR 3036 from Krakow at the gate
06:00FR 483 to Málaga leaves the gate
19 h 30 apart on the timetable, overnight
FR 483 leaves 19 h 30 after FR 3036 arrives on the timetable: more than half a day, so not a connection we count.