ANSWER:

They were revealed in Makkah but the two angels made ruqya for the Prophet salla allahu alaihi wa sallam with it.

It is a common belief that both Surahs Al Naas and Al Falaq were revealed to unlock the black magic inflicted on Rasool Allah SAW. The infliction happened in Madinah while both the Surahs were revealed in Makkah well before the black magic infliction on Rasool Allah SAW. I was wondering if there’s a way of clarifying this.