(Surah Hijr 15...
(Surah Hijr 15:75) So the first of ‘those who examine’ was the Holy Prophet (S); after him was Amirul Momineen (a.s.) then Hasan (a.s.) and Husain (a.s.) and after Husain (a.s.) the purified Imams (a.s.) from his descendants, till the day of Judgement. In Basair and Ikhtisas Abdul Rahman bin Kathir has narrated, that: I went for Hajj with Imam Sadiq (a.s.).
On the way the Hazrat went on a mountain and looked towards the people and said: So many people are reciting the ‘talbiya’ but of them there are very few whose Hajj is accepted. Abi Sulaiman said: O Son of the Messenger of Allah (S) would the prayers of all the people that we see be accepted by Allah? Hazrat replied: Allah will not forgive the sins of those who have committed polytheism, and the one who denies the Wilayat and Imamate of Ali (a.s.), is like an idol-worshipper.
The narrator said: May I be sacrificed on you, do you recognize your friend and your enemy? Hazrat replied: Woe upon you, when a child is born, it is written between his two eyes. And whoever comes to us with our Wilayat we see on his forehead where ‘believer’ is written and when a person comes to us with our enmity ‘disbeliever’ is written on his forehead, which we can read. We are ‘those who examine’, and Allah has said in our praise: Surely in this are signs for those who examine.
(Surah Hijr 15:75) And we recognize our friends and foes by this very sagacity. Also in Basair and other books it is narrated that a person came to Imam Sadiq (a.s.) and posed a question. The Hazrat gave him the answer, then another person came and asked the same question and the Hazrat gave a different answer.
Then a third person came and the Imam give him a reply different from the first and the second one, then said: The Almighty Allah has left upon us the affairs of the creatures on us and we give them the reply according to their capability and understanding, in the same way Allah had given Hazrat Sulaiman the authority over the world and had said: This is Our free gift, therefore give freely or withhold, without reckoning. (Surah Sad 38:39) The verse is in this way in the recitation of Ali.
The narrator asked that whether Imam knows about the religion and capability of each person due to which he gives the suitable answer. Hazrat asked in surprised: Glory be to Allah! May be you have not read the book of Allah that says: And surely it is on a road that still abides.