An Islamic preacher from western Sydney has slammed Muslim parents for playing music to their children on the way to the mosque and allowing them to dance at home.

Sunni fundamentalist morals campaigner Nassim Abdi said it was wrong for parents to have the radio on as they drove to and from the mosque.

'We have children who are drowning in the listening of music, day and night, to the extent where we have parents taking their children to learn the book of Allah, learning the Koran ... but on the way there, and on the way back, the children are in the car listening to music,' he said.

Muslim morals campaigner Nassim Abdi says parents shouldn't play music in front of children

The Islamic teacher, who has previously criticised Muslim women for showing their ears and necks in public and plucking their eyebrows, also said it was wrong for parents to allow their children to listen to music at home.

'When they get home, the parents are listening to music,' he said.

'The parents encourage them to listen to music and to dance and to make videos and to make a joke out of it and to make fun out of it and to post it online.

'What is going to be bred into the heart of this child: the love of the Koran or the love of music?'

Nassim Abdi, from the hardline Salafist Ahlus Sunnah Wal Jamaah Association, opposes music

Mr Abdi hails from the hardline Ahlus Sunnah Wal Jamaah Association, an ultra-conservative Salafist form of Sunni Islam from Saudi Arabia.

His sermon, delivered at Auburn in Sydney's west, said parents were 'lacking Islamically' because they were unwittingly teaching their children to overlook Sharia law, a Muslim legal system.

'This breeds in the child extreme confusion to the extent many a time, they look towards the Shariah with disrespect, maybe not at the young, tender age but as they get older,' he said.