It is narrated from Sayyiduna Wabisah bin Ma'bad (may Allah be pleased with him) that he said: "I came to the Messenger of Allah (peace and blessings be upon him) intending to ask him about every matter of righteousness and sin that was on my mind. So I began making my way forward through the people, and the people said: 'O Wabisah, keep away from the Messenger of Allah (peace and blessings be upon him).' I said: 'Let me come close to him.' Thereupon he (peace and blessings be upon him) himself said: 'Come close, O Wabisah.' So I came so close to him (peace and blessings be upon him) that my knee touched his (peace and blessings be upon him) blessed knee. Then he (peace and blessings be upon him) said: 'O Wabisah, shall I tell you what you have come to ask me about, or will you ask me yourself?' I said: 'O Messenger of Allah (peace and blessings be upon him), you tell me.' He (peace and blessings be upon him) said: 'You have come to ask me about righteousness and sin.' I said: 'Yes.' The narrator said: He (peace and blessings be upon him) gathered his fingers together and, tapping them on my chest, said: 'O Wabisah, seek a ruling from your own heart. Righteousness is that with which the heart is at ease and in which the soul finds tranquillity, and sin is that which troubles your soul and causes hesitation in the chest, even if people give you a ruling (that it is permissible), and keep on giving it to you.'"
Imam Abu Ya'la al-Mawsili also narrated it with his chain,
and in one of his narrations it is stated explicitly that he (peace and blessings be upon him) said the sentence "even if people give you a ruling" three times.
Imam al-Busiri (may Allah have mercy on him) said that all these chains revolve around Ayyub bin Abdullah, and he is majhul (unknown).
Hadith Referenceإتحاف الخيرة المهرة بزوائد المسانيد العشرة / كتاب العلم / 359
Hadith Gradingمحدثین:إسناده ضعيف
Hadith Takhrij«قلت: مدار هذه الطرق على أيوب بن عبد الله، وهو مجهول» «(359/1) أخرجه مسند أحمد برقم: 17540، وأخرجه سنن الدارمي برقم: 2533، وأخرجه مجمع الزوائد ومنبع الفوائد برقم: 815، 816، 18117» «(359/3) أخرجه مسند أحمد برقم: 17545، وأخرجه سنن الدارمي برقم: 2533، وأخرجه مجمع الزوائد ومنبع الفوائد برقم: 815، 816، 18117، وأخرجه شرح مشكل الآثار برقم: 2139»