We cannot say definitely about the books of Hinduism (Veda, Ramayana, Geeta, Mahabharata etc.) that they are divine books. Of course, we shall favour the things which correspond the holy Quran and Hadith. But the things which are shirkiya and kufriya we shall refute them completely as no Prophet has taught kufr and shirk. The advent of the holy Prophet Muhammad (صلى الله عليه وسلم) has been mentioned in other divine books, so if there is some matter regarding it in those books then we shall favour it but we will not term those books a definite divine book. The founder of Darul Uloom Deoband, Hadhrat Maulana Muhammad Qasim Nanotvi writes regarding Vedas: “Worshiping other than Allah can never be the order of Allah, hence we believe that Veda is not the words of Allah or it has been corrupted; otherwise in order to establish Veda as the words of Allah, they should prove that Brahma claimed to be messenger ’Barhama’ and called Veda the words of God and then establish that Veda was preserved with true chain age after age. [Majmua Haft Resayil: 40-41]
Allah knows Best!
Darul Uloom Deoband