Guidance and misguidance stand face to face in these verses: Allah guides whom He wills, His guidance is the true guidance, and the revealed Books carry it. The verses also speak of right conduct (rushd), recall that whoever is guided is guided for his own good, and distinguish the rightly guided believers from those deprived of Allah’s guidance, such as the wrongdoers and the disbelievers.
Verses gathered from a topical index of the Quran, in Mushaf order; every verse is quoted in full.
So if they believe in the same as you believe in, then they have been [rightly] guided; but if they turn away, they are only in dissension, and Allāh will be sufficient for you against them. And He is the Hearing, the Knowing.
Mankind was [of] one religion [before their deviation]; then Allāh sent the prophets as bringers of good tidings and warners and sent down with them the Scripture in truth to judge between the people concerning that in which they differed. And none differed over it [i.e., the Scripture] except those who were given it - after the clear proofs came to them - out of jealous animosity among themselves. And Allāh guided those who believed to the truth concerning that over which they had differed, by His permission. And Allāh guides whom He wills to a straight path.
Indeed, those who have believed and done righteous deeds - their Lord will guide them because of their faith. Beneath them rivers will flow in the Gardens of Pleasure.
And so those who were given knowledge may know that it is the truth from your Lord and [therefore] believe in it, and their hearts humbly submit to it. And indeed is Allāh the Guide of those who have believed to a straight path.