Numan ibn Basheer radiyallahu anhu said I heard the messenger of Allah sallallahu alyhi wasallam saying, "That which is lawful is plain and that which is unlawful is plain and between the two of them are doubtful matters about which not many people know. Thus he who avoids doubtful matters clears himself in regard to his religion and his honour, but he who falls into doubtful matters falls into that which is unlawful, like the shepherd who pastures around a sanctuary, all but grazing therein. Truly every king has a sanctuary, and truly Allah's sanctuary is His prohibitions. Truly in the body there is a morsel of flesh which, if it be whole, all the body is whole and which, if it be diseased, all of it is diseased. Truly it is the heart." (Bukhari & Muslim)
In reply, the respected Shaykh would provide words of comfort and highlight any strategy or duaa that would be of aid to that person in their particular situation.