Sahih Al-Bukhari 6069 (part 2) – Sinning Openly In Public
Sins are not just minor and major. The intensity of a sin increases the level of displeasure. So, one should avoid a sin which may increase the displeasure of God.