Racist graffiti has been sprayed in a predominantly Muslim community, with a senior Albanese government minister condemning the act as “horrific”.