Selling the digital goods for which we didn't pay just downloaded. Is it halal?

Can we sell the digital goods for which we didn’t pay just downloaded them?

Assalaamu alaykum,

If the digital goods were for sale but they were acquired unlawfully, then it would not be permissible to benefit from any proceeds that are earned from selling them onwards.

Allah knows best