Brother Jkhan!
In the Quran, the phrase "قَلْبٍ سَلِيمٍ" (qalbin salim) is used to describe Ibrahim (Abraham) in several verses (Quran 37:84, 37:89, 37:91). It is translated as "a sound heart" or "a pure heart."
The term "قَلْبٍ" (qalb) refers to the heart, not only in its physical sense but also symbolically as the center of emotions, thoughts, and intentions. It represents the innermost core of a person's being.
The word "سَلِيمٍ" (salim) means sound, healthy, intact, or pure. When used to describe a person's heart, it indicates a heart that is free from impurities, doubts, and negative traits. It signifies a heart that is sincere, upright, and in a state of purity and righteousness.
In the context of Ibrahim, having a "قَلْبٍ سَلِيمٍ" (qalbin salim) suggests that he had a pure and sound heart, free from any form of idolatry, falsehood, or wavering in his belief in God. It highlights his unwavering faith, sincerity, and devotion to Allah. Ibrahim's character and actions were guided by a righteous and upright heart, which is regarded as a praiseworthy quality in Islam.
So, in my view, Ibrahim was never deceived by the devil!
Peace!