It is narrated from Sayyiduna Salman (may Allah be pleased with him): "I asked the Prophet (peace and blessings be upon him) about the people of a religion with whom I used to live (in the past), and I mentioned before him (peace and blessings be upon him) their prayer, their fasting and their abundant worship. Then this saying of Allah, the Mighty and Majestic, was revealed: 'Indeed, those who have believed, and those who became Jews, and the Sabians, and the Christians, and the Magians' up to His words 'Witness (over all things).'" All the narrators of this report's chain are trustworthy (thiqah) and reliable.
It is narrated from Sayyiduna Abdullah bin Mas'ud (may Allah be pleased with him) that he said: "Whoever merely intends an evil deed but does not do it, nothing (no sin) is written against him. But if a person, even while living in a place as far away as 'Aden Abyan', firmly intends to kill (someone) in the Sacred Mosque, Allah Almighty will make him taste a painful punishment." Then he recited this verse: "And whoever intends therein (in the Sanctuary) deviation and wrongdoing, We will make him taste a painful punishment." This chain is mawquf (stopping at the Companion) and sahih. It is also narrated in the report of Imam Abu Ya'la and Imam Ahmad bin Hanbal that Sayyiduna Abdullah (may Allah be pleased with him) said in explanation of this saying of Allah Almighty, "And whoever intends therein deviation and wrongdoing, We will make him taste a painful punishment": "If a person, even while residing in 'Aden Abyan', intends any deviation or transgression in the Sanctuary, Allah Almighty will certainly make him taste a painful punishment." Imam Shu'bah says that al-Suddi had also narrated this report as marfu' (that is, attributing it to the Prophet (peace and blessings be upon him)), but I (out of caution) am presenting it to you only as the saying of the Companion (mawquf).