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