Self-similar solutions of a nonlinear friction equation in higher dimensions