Question:
How did Allah Almighty warn Yahya ibn Zakariyya about Satan?
Answer:
It is narrated from Harith al-Ash’ari (may Allah be pleased with him) that the Messenger of Allah ﷺ said:
إن الله أمر يحيى بن زكريا بخمس كلمات أن يعمل بها و يأمر بني إسرائيل أن يعملوا بها وذكر منها: وأمركم أن تذكروا الله، فإن مثل ذلك كمثل رجل خرج العدو فى أثره سراعا حتى إذا أتى على حصن حصين فأحرز نفسه منهم، كذلك العبد لا يحرز نفسه من الشيطان إلا بذكر الله
“Indeed, Allah Almighty commanded Yahya ibn Zakariyya with five matters, that he act upon them himself and also command the Children of Israel to act upon them. Among these five matters is this: that Allah Almighty has commanded you to remember Him (dhikr). Indeed, the example of dhikr is like a man with an enemy running very fast behind him, until he reaches a strong fortress and protects himself from the enemy (by entering that fortress). In the same way, a servant can protect himself from Satan only through the remembrance of Allah.”