>Penitentials were condemned by the Catholic church in 829, but some were still around centuries later.
You asked me to for another source that it was ever taught by the Church or addressed in Canon Law, and that's what I did.
I don't have helpful links. Like, here: http://www.documentacatholicaomnia.eu/03d/1139-1150,_Gratianus_de_Clusio,_Concordantiam_Discordantium_Canonum_seu_Decretum_Gratiani_(Friedberg_1879),_LT.pdf is a link to a PDF version of Concordia discordantium Canonum, but it's in Latin. Unless you are fluent, it might be difficult to parse. The entire book has never been translated into English.
But, you should read The Catholic Church on Marital Intercourse: From St. Paul to Pope John Paul II for more information about the topic.