Gurindam Dua Belas is a Malay poem written in rhyming couplets with free meter. It has 12 parts, each dealing with a different pasal, or issue. It was composed by Raja Ali Haji (1808-1873), an intellectual of the Riau-Lingga court best known for his history Tuhfat al-Nafis (the Precious Gift).