borrowing against stock - do you keep the dividends?

hi everyone

i think i have read it somewhere: when you borrow cash against stock (leverage), do you keep the dividends or is it owed to the party that gave you cash?

many thanks

you keep dividends. They receive the dividends that they pass to you.

Thanks!