The correct option is B raising the pH
H2S⇌2H++S2−
S2−+M2+⇌MS
When pH is increased, the hydrogen ion concentration decrease.
To nullify the effect of a decrease in the hydrogen ion concentration, the dissociation equilibrium of hydrogen sulphide shifts to right so that more and more hydrogen ions are obtained. This also increases the concentration of sulphide ions.
The increase in the concentration of sulphide ions shifts the equilibrium for the formation of metal sulphide towards the right.
This ensures complete precipitation of metal sulphide