(Lev. 4:2:) WHEN A SOUL SINS. This is what Scripture says (in Prov. 19:2): ALSO, WITHOUT KNOWLEDGE A SOUL IS NOT GOOD, [AND ONE WHO HASTENS WITH HIS FEET IS A SINNER]. Whoever sins, even by mistake, it is not a good sign for him. How so? There were two shops before him, one belonging to a star-worshiper and one belonging to an Israelite. He entered the one belonging to the star-worshiper. Since he entered deliberately, he is called a sinner, as it is stated (in Prov. 19:2): AND ONE WHO HASTENS WITH HIS FEET IS A SINNER.
The Two Shops and the Sin of Hasty Feet in Tanchuma
Midrash Tanchuma Buber, Vayikra 10:1
נפש כי תחטא. זש"ה גם בלא דעת נפש לא טוב [ואץ ברגלים חוטא] (משלי יט ב), מי שחוטא אפילו בשגגה, אינו סימן יפה הוא לו, כיצד היו לפניו שני חנויות, אחת של עובד כוכבים, ואחת של ישראל, נכנס לאותה של עובד כוכבים, נכנס במזיד נקרא חוטא, שנאמר ואץ ברגלים חוטא.