It is narrated from Sayyiduna Jabir (may Allah be pleased with him) that the Prophet (peace and blessings be upon him) cursed the one who does such a thing in his written document.
Hadith Referenceمسند احمد / مسند المكثرين من الصحابة / 14687
Hadith Gradingحکم دارالسلام:حديث صحيح، م: 1507، وانظر ما قبله