Dr. Monzer Kahf, a prominent economist and counselor states: Owning such shares is Haram but we are entitled to our principal that we paid. If we sell them for anything above their cost, we should give any surplus to Muslim charity and if the principal of the shares came from Halal sources, yes we can use it for making the Hajj trip.