Explanation:
Friction can't affect mass of a substance(considering for a substance whose mass doesn't change with time),rather it is the mass of an object which can affect friction variously. Let's take some example to understand the situation. So,higher the mass of the object,higher will be the frictional force.
Friction occurs because no surface is perfectly smooth. Rougher surfaces have more friction between them. Heavier objects also have more friction because they press together with greater force. Friction produces heat because it causes the molecules on rubbing surfaces to move faster and have more energy.