FR 8393 then FR 3928 at Barcelona
Budapest → Barcelona → Trieste
Timetable, Barcelona time
20:00FR 8393 from Budapest at the gate
11:10FR 3928 to Trieste leaves the gate
15 h 10 apart on the timetable, overnight
FR 3928 leaves 15 h 10 after FR 8393 arrives on the timetable: more than half a day, so not a connection we count.