Widely attributed to Luther, but actually is an example given in 1658 book Ἑρμηνεια logica https://books.google.com/books?id=2MxlAAAAcAAJ&pg=PA228| of faulty logic. In Latin:
Si vero termini in sorite sunt causae subordinatae per accidens, sorites non valet; ut ia hoc, Qui bene bibit, bene dormit; qui bene dormit, non peccat; qui non peccat, est beatus; ergo: qui bene bibit est beatus. Vitium est, quod bene bibere sit causa per accidens somni.
Translated via Fauxtations https://fauxtations.wordpress.com/2016/08/21/drinking-and-not-sinning/:
If, however, the conclusions in the sorite are subordinate by accident, the sorites is not valid; as in this one, He who sleeps well, drinks well; he who sleeps well, does not sin; he who does not sin, is blessed; therefore, he who drinks well is blessed. The problem is that to drink well is a cause of sleep only by accident.
Disputed