I always thought this referred to doing so outside of salah. Does the hadeeth itself mention doing this during salah? If it doesn't, then would it not then follow that doing so during salah would invalidate salah?