FR 8859 then FR 852 at Lisbon
Budapest → Lisbon → Treviso
Timetable, Lisbon time
17:30FR 8859 from Budapest at the gate
16:35FR 852 to Treviso leaves the gate
23 h 05 apart on the timetable, overnight
FR 852 leaves 23 h 05 after FR 8859 arrives on the timetable: more than half a day, so not a connection we count.