QR 3716 then FR 3928 at Barcelona
Rome → Barcelona → Trieste
Timetable, Barcelona time
14:25QR 3716 from Rome at the gate
06:30FR 3928 to Trieste leaves the gate
16 h 05 apart on the timetable, overnight
FR 3928 leaves 16 h 05 after QR 3716 arrives on the timetable: more than half a day, so not a connection we count.