This article in the UK news magazine i100 has been widely shared:
Tory MP accused of quoting Joseph Goebbels in defence of new surveillance bill in the Commons
A Conservative MP used a quote widely attributed to Nazi propaganda minister Joseph Goebbels while defending the government's new surveillance bill.
Richard Graham, the MP for Gloucester, was addressing the House of Commons on the draft Investigatory Powers Bill when he said that "if you have nothing to hide, you have nothing to fear".
...
The exact origin of the quote "if you have nothing to hide, you have nothing to fear" is unclear. It has been attributed to both the Nazi Minister of Public Enlightenment and Propaganda Joseph Goebbels as well as a description of the idea of the all-seeing state in George Orwell's dystopian novel 1984. It is often used as a defence of mass surveillance.
Nevertheless, comparisons were quickly drawn online: [embedded tweets, etc]
The article acknowledges that there is uncertainty about the origin of the quote, and it does not try to imply that the MP deliberately quoted Goebbels, acknowledging that it's a common phrase. It also doesn't appear to claim that, if Goebbels used it, this was its first ever usage (which can be disproved, it was apparently used in print in 1918).
But the article is based on the premise that the phrase can be linked to Goebbels.
Is there any evidence that this is indeed a phrase Goebbels actually used? (in any public speeches, official statements, interviews, exerts of conversations in books our court statements, or any other such quotable pronouncements)
Since it will likely have been translated from German anyway, semantically close variants like for example "You need not have fear if you have no guilty secrets" or similar are allowable - anything where this wording could be a not-wrong translation of the original German.