FR 6712 then W4 7472 at Madrid
Budapest → Madrid → Ranon
Timetable, Madrid time
12:55FR 6712 from Budapest at the gate
09:55W4 7472 to Ranon leaves the gate
21 h apart on the timetable, overnight
W4 7472 leaves 21 h after FR 6712 arrives on the timetable: more than half a day, so not a connection we count.