Praise be to Allaah.
It does not seem that there is any reason why you should not
do that, so long as you are going to repay him the same number of shares in
the same company. Rises and falls in share prices will not have any effect
on this loan.
Shaykh ‘Abd al-Rahmaan al-Barraak.
That is subject to the condition that the shares should not
be shares in a financial company, such as shares in an Islamic bank, for
example, because most of the shares in those companies have to do with
currencies.
And Allaah knows best.