I often come across this Hadith. I know that the sources may be deemed as unreliable. But is the statement being said in the Hadith true? Or do we have a similar hadeeth?

God has pardoned for my community what comes to their mind, so long as they do not act or pronounce words to that effect. (Sunan Abi Dawud 2209, various forms of this hadith are also present al-Bukhari, Muslim and others)

Yes we accept this content. Allah wont hold us accountable for our thoughts (as long as we don’t disbelieve of course).