Marids are often described as the most powerful type of jinn, having especially great powers. They are the most arrogant and proud as well. Like every jinn, they have free will. They can become companions to humans but it involves battle, imprisonment, rituals, or copious amounts of flattery.
Marids are mentioned in the Qur'an (in Sura As-Saaffat:7 (37:7): And to guard against every rebellious devil (Marid)., as well as pre-Islamic Arabian mythology and throughout Asia.