From Ata, related from Ibn Abbas: this verse was revealed about the delegation of Thaqif, who made excessive demands of the Prophet — they asked to benefit from al-Lat for a year and to have their valley declared sacred (inviolable) like Mecca, the Prophet refused; they insisted, saying, "we want the Arabs to recognize our superiority over them, if what we say displeases you and you fear the Arabs might say you gave them what you did not give us, then say: God commanded me this," the Prophet fell silent toward them, and covetousness entered him, Umar shouted at them, "do you not see that the Prophet does not answer you because he dislikes what you bring?", the Prophet was near to granting it to them, whereupon God revealed this verse. From Sa'id ibn Jubayr: the polytheists said to the Prophet, "we will not leave you alone unless you touch our gods even with your fingertip," the Prophet said, "what harm would it do me if I did, God knows I am unwilling," whereupon this verse was revealed. From Qatada: the Quraysh spent a night alone with the Prophet until morning, speaking with him, praising and exalting him and drawing him closer, saying, "you bring something unmatched, you are our lord and the son of our lord," they insisted until he nearly came close to some of what they wanted, then God protected him from that, whereupon this verse was revealed.
قوله تعالى: {وإن كادوا ليفتنونك عن الذي أوحينا إليك} الآية {73} . قال عطاء عن ابن عباس: نزلت في وفد ثقيف أتوا رسول الله - صلى الله عليه وسلم - فسألوه شططا وقالوا: متعنا باللات سنة وحرم وادينا كما حرمت مكة شجرها وطيرها ووحشها، وأكثروا في المسألة فأبى ذلك رسول الله - صلى الله عليه وسلم - ولم يجبهم، فأقبلوا يكثرون مسألتهم وقالوا: إنا نحب أن تعرف العرب فضلنا عليهم، فإن كرهت ما نقول وخشيت أن تقول العرب أعطيتهم ما لم تعطنا فقل: الله أمرني بذلك، فأمسك رسول الله - صلى الله عليه وسلم - عنهم وداخلهم الطمع، فصاح عليهم عمر: أما ترون رسول الله - صلى الله عليه وسلم - أمسك عن جوابكم كراهية لما تجيئون به؟ وقد هم رسول الله - صلى الله عليه وسلم - أن يعطيهم ذلك، فأنزل الله تعالى هذه الآية. وقال سعيد بن جبير: قال المشركون للنبي - صلى الله عليه وسلم - لا نكف عنك إلا بأن تلم بآلهتنا ولو بطرف أصابعك، فقال النبي - صلى الله عليه وسلم - ما علي لو فعلت والله يعلم أني كاره، فأنزل الله تعالى هذه الآية: {وإن كادوا ليفتنونك عن الذي أوحينا إليك} إلى قوله {نصيرا} وقال قتادة: ذكر لنا أن قريشا خلوا برسول الله - صلى الله عليه وسلم - ذات ليلة إلى الصبح يكلمونه ويفخمونه ويسودونه ويقاربونه، فقالوا: إنك تأتي بشيء لا يأتي به أحد من الناس، وأنت سيدنا وابن سيدنا، وما زالوا به حتى كاد يقاربهم في بعض ما يريدون، ثم عصمه الله تعالى عن ذلك، فأنزل الله تعالى هذه الآية.