Abstract The spacetime solution for a black hole, surrounded by an exotic matter field, in Rastall gravity, is calculated in an arbitrary d-dimensional spacetime.After this, we WHITENING PLUS COOL MINT TOOTHPASTE calculate the scalar quasinormal modes of such solution, and study the shift on the modes caused by the modification of the theory of gravity, i.e., by the introduction of a new term due to Wok Brushes Rastall.We conclude that the shift strongly depends on the kind of exotic field one is studying, but for a low density matter that supposedly pervades the universe, it is unlikely that Rastall gravity will cause an instability for the probe field.