FR 3040 then FR 483 at Barcelona
Prague → Barcelona → Málaga
Timetable, Barcelona time
21:15FR 3040 from Prague at the gate
09:45FR 483 to Málaga leaves the gate
12 h 30 apart on the timetable, overnight
FR 483 leaves 12 h 30 after FR 3040 arrives on the timetable: more than half a day, so not a connection we count.