فَمَنْ أَظْلَمُ مِمَّنِ ٱفْتَرَىٰ عَلَى ٱللَّهِ كَذِبًا أَوْ كَذَّبَ بِـَٔايَـٰتِهِۦٓ ۚ إِنَّهُۥ لَا يُفْلِحُ ٱلْمُجْرِمُونَ Qur’an Yunus (10:17)Faman athlamu mimmani iftara AAala Allahi kathiban aw kaththaba biayatihi innahu la yuflihu almujrimoona
I.e., in the life to come. In this context, the "attributing of one's own lying inventions to God" would seem to apply specifically to the wanton accusation that Muhammad himself composed the Qur'an and then attributed it to God; and the "giving the lie to God's messages" refers to the attitude of those who make such an accusation and, consequently, reject the Qur'an (Razi)