I am worried that I may have committed shirk unknowingly. I was praying and during the prayer when I made sujood my head was against the wall a little bit. I got strange thoughts that said I should pray as if the wall i am touching is Allah (Naoodhoobillah). So then I accepted those thoughts for the sajda and my focus was on the wall whilst in sujood. After the sujood to the sitting position I realized that I may have committed shirk. I cannot remember however if I discarded the thoughts about the wall during the sajda. I said shahada after and did ghusl because I was worried. Please respected mufti tell me what I should do now because I am worried that I may be out of Islam.