W4 3173 then FR 2053 at Madrid
Bucharest → Madrid → Palma de Mallorca
Timetable, Madrid time
17:50W4 3173 from Bucharest at the gate
14:45FR 2053 to Palma de Mallorca leaves the gate
20 h 55 apart on the timetable, overnight
FR 2053 leaves 20 h 55 after W4 3173 arrives on the timetable: more than half a day, so not a connection we count.