Solution

Hydrogenation of an acid chloride over palladium on barium sulphate (poisoned with sulphur or quinoline) is called Rosenmund reduction.
$R-COCl + H_2 \xrightarrow{Pd-BaSO_4} R-CHO + HCl$
$BaSO_4$ poisons the catalyst so that the aldehyde formed is not reduced further to the alcohol.
So P is the aldehyde RCHO.

Concept Acid chloride to aldehyde

Rosenmund reduction in past papers

3 questions from this chapter have appeared across 3 exam years.