I was wondering if it was possible to transfer my level 20 rayquaza to Pokemon sword. I traded it with another person on Pokemon home and would that prevent me from transfering it to Pokemon sword since rayquaza was not originally mine. Thanks.
No, it wouldn’t prevent you from bringing it to sword.
Source:Transferred Pokémon I traded for over HOME to Shield with no issues multiple times