Denmark's parliament on Thursday adopted a law that will ban the burning of the Quran, local media reported.