In The Name of Allaah, The Most Merciful, The Bestower of Mercy.
Allaah [The Exalted] stated that Luqman [peace be upon him] said to his son [may Allaah have mercy upon him]:
يَـٰبُنَىَّ إِنَّہَآ إِن تَكُ مِثۡقَالَ حَبَّةٍ۬ مِّنۡ خَرۡدَلٍ۬ فَتَكُن فِى صَخۡرَةٍ أَوۡ فِى ٱلسَّمَـٰوَٲتِ أَوۡ فِى ٱلۡأَرۡضِ يَأۡتِ بِہَا ٱللَّهُۚ إِنَّ ٱللَّهَ لَطِيفٌ خَبِيرٌ۬
O my son! If it be (anything) equal to the weight of a grain of mustard seed, and though it be in a rock, or in the heavens or in the earth, Allah will bring it forth. Verily, Allah is [لَطِيفٌ -Subtle and Kind (fully aware of the hidden details of all affairs and of that which will benefit the servants and Who is kind to them and causes that which is good for them to reach them by a means which they had no expectation), [خَبِيرٌ۬ – The Fully Aware, the One knowing fully everything that is, has been or will be, knowing whatever will bring harm or benefit, knowing the true condition of everything and the outcome of everything]. [Surah Luqman. Verse 16] (1)
[O my son, even if (anything) equal to the weight of grain of mustard seed]– Meaning, which is the tiniest and one of the things with the least value; [and though it be in a rock]– Meaning, in the middle of it; [or in the heavens or in the earth]-Meaning, in any direction of the heavens and the earth; [Allah will bring it forth]– Meaning, due to His boundless knowledge, perfect knowledge (of all hidden and concealed things, secrets, apparent things, the present, furure and past, and nothing is hidden from Him). This is why Allaah then said:
[إِنَّ ٱللَّهَ لَطِيفٌ خَبِيرٌ۬ – Allah is Subtle, The Fully Aware]- Meaning, He is subtle in His knowledge and being fully aware of all all hidden affairs and secrets, and all that is concealed on land and at sea. The intent behind this is encourage (humankind and Jinn) to paay close attention – (with their hearts, minds and thoughts) to Allaah and obey Him whenever (and wherever) that may be, and to make one fearful of committing evil deeds, be it a little or a lot. (2)
The Man Who Came to Imaam Ibraaheem Bin Ad’ham to Seek Advice Regarding How to Abandon Sin!
Imaam Abdul Ghaniy Al-Maqdisi stated in his book At-tawwaabeen that a man once came to Ibraaheem Bin Adham and said, “O Abu Ishaaq! Indeed I have transgressed against my Nafs [through evil deeds], so present to me that which will be a deterrent for my nafs and will save [or rescue] my heart”. So, Ibraaheem said to him: “If you accept five affairs and fulfil them, neither will you be harmed due to sinning nor will the enjoyment [or delight from it] bring you destruction. The man said, “Mention them to me O Abu Ishaaq”.
Ibraaheem said: “The first affair is that when you want to disobey Allaah – The Mighty and Majestic- do not eat His provision”. The man said, “Where would I eat from when it is case that all that is in the earth is from His provision?” He said, “O you! Is it right that you eat His provision and disobey him?” The man said, “No; mention the second affair to me”.
Ibraaheem said, “If you want to disobey Allaah, do not live anywhere in Allaah’s earth”. The man said, “This is greater than the first affair! When it is the case that the east, the west and whatever is between them belongs to Him, then where would I live?” Ibraaheem said to him, “O you! Is it right that you eat His provision and live on his earth, yet you disobey him?” The man said, “No; mention the third affair”.
Ibraaheem said, “If you want to disobey Him whilst you are being provided from His provision and living on his earth, then do so in a place where He cannot see you”. The man said, “How can that be when it is the case that He knows everything that is hidden”. Ibraaheem said, “O you! Is it right that you eat his provision, live on his earth and you disobey him whilst he sees you and what you do?” The man said, “No; mention the fourth affair”.
Ibraaheem said, “When the angel of death comes to take your soul, tell him, ‘Delay its departure until I perform sincere repentance and perform righteous deeds for the sake of Allaah’”. The man said, “He (the angel) will not accept that from me”. Ibraaheem said, “O you! When it is the case that you cannot repel death until you repent and you know that there is no delay when it comes to you, then how do you hope to escape?” The man said, “Mention the fifth affair”.
Ibraaheem said to him, “When the Zabaaniyah [i.e. guardians of hell] come to you on yawmul qiyaamah to take you to the fire, do not go with them”. The man said, “Neither will they leave me nor accept that from me”. Ibraaheem said to him, “So, how do you hope for safety then?” The man said, “O Ibraaheem! This is enough! This is enough! I seek Allah’s forgiveness and repent to Him.” (3)
[Ref 2: Tafseer As-Sadi]
[Ref 3: At-taleeq Alaa Bawaa’thil Khilaas Min Adh-Dhunoob. Lesson 1: https://al-badr.net/sub/369%5D