The Weibel instability is one of the basic plasma instabilities that plays an important role in stopping the hot electrons and energy deposition mechanism. In this paper, combined effect of the density gradient and quantum effects on Weibel instability growth rate is investigated. The results have shown that, by increasing the quantum parameter, for large wavelengths, the Weibel instability growth rate shrinks to zero. In the large wavelengths limit, the analysis shows that quantum effects and density gradient tend to stabilize the Weibel instability. The density perturbations have decreased the growth rate of Weibel instability in the near corona fuel, . In the small wavelengths limit, for the density gradient, , the tunneling quantum effects increase anisotropy in the phase space. The quantum tunneling effect leads to an unexpected increase in the Weibel instability growth rate.