In April: An investor instructs a broker to short 500 IBM shares.
The broker borrows the shares from another client selling them in the market at $120 per share.
In May, IBM pays dividend $1 per share.
In July: The investor closes out the short position by purchasing 500 IBM shares at $100 per share and replace to account they borrowed.