There are two forces acting on the stone, one is applied force and the other is the frictional force.
As the known force and acceleration are given, so only frictional force is required.
Thus, an amount of friction is required to precisely measure the mass.