Using plural forms
The passer-by stopped and put his hand into his trouser pocket.
The passers-by stopped and put their hands into their trouser pockets
Using plural forms
The passer-by stopped and put his hand into his trouser pocket.
The passers-by stopped and put their hands into their trouser pockets