Actually no, since you have no quote here and you have no source, I can only guess what you may or may not be referring to.
Reason is the Devil’s greatest whore; by nature and manner of being she is a noxious whore; she is a prostitute, the Devil’s appointed whore; whore eaten by scab and leprosy who ought to be trodden under foot and destroyed, she and her wisdom … Throw dung in her face to make her ugly. She is and she ought to be drowned in baptism… She would deserve, the wretch, to be banished to the filthiest place in the house, to the closets."
Martin Luther, Erlangen Edition v. 16, pp. 142-148
There is on earth among all dangers no more dangerous thing than a richly endowed and adroit reason… Reason must be deluded, blinded, and destroyed.
Martin Luther, quoted by Walter Kaufmann, The Faith of a Heretic, (Garden City, NY, Doubleday, 1963), p. 7
We know, on the authority of Moses, that longer than six thousand years the world did not exist.
Martin Luther, “Lectures on Genesis”
If we apply strict reasoning to anything having to do with faith, they will always be at odds
Well I don’t disagree with you and neither does the Church I suppose. Reason alone cannot suffice but it is a great step. Notice the striking difference between Luther and the Church.
35 Man’s faculties make him capable of coming to a knowledge of the existence of a personal God. But for man to be able to enter into real intimacy with him, God willed both to reveal himself to man and to give him the grace of being able to welcome this revelation in faith. The proofs of God’s existence, however, can predispose one to faith and help one to see that faith is not opposed to reason.
36 "Our holy mother, the Church, holds and teaches that God, the first principle and last end of all things, can be known with certainty from the created world by the natural light of human reason."11 Without this capacity, man would not be able to welcome God’s revelation. Man has this capacity because he is created “in the image of God”.12
37 In the historical conditions in which he finds himself, however, man experiences many difficulties in coming to know God by the light of reason alone:
Though human reason is, strictly speaking, truly capable by its own natural power and light of attaining to a true and certain knowledge of the one personal God, who watches over and controls the world by his providence, and of the natural law written in our hearts by the Creator; yet there are many obstacles which prevent reason from the effective and fruitful use of this inborn faculty. For the truths that concern the relations between God and man wholly transcend the visible order of things, and, if they are translated into human action and influence it, they call for self-surrender and abnegation. The human mind, in its turn, is hampered in the attaining of such truths, not only by the impact of the senses and the imagination, but also by disordered appetites which are the consequences of original sin. So it happens that men in such matters easily persuade themselves that what they would not like to be true is false or at least doubtful.
38 This is why man stands in need of being enlightened by God’s revelation, not only about those things that exceed his understanding, but also “about those religious and moral truths which of themselves are not beyond the grasp of human reason, so that even in the present condition of the human race, they can be known by all men with ease, with firm certainty and with no admixture of error”
39 In defending the ability of human reason to know God, the Church is expressing her confidence in the possibility of speaking about him to all men and with all men, and therefore of dialogue with other religions, with philosophy and science, as well as with unbelievers and atheists.