In laboratory preparation of Hydrogen, H2S is removed from the obtained gas by passing it through:
Lead nitrate solution
The obtained gas is passed through the Lead Nitrate solution. Which reacts with H2S and forms the precipitate of lead sulphide and HNO3.
H2S+Pb(NO3)2⟶PbS+HNO3