Both Qur’an and Hadith can serve as sources for iqtibās.

Iqtibās and Taḍmīn: Quoting Scripture and Incorporating Poetry