After doing istebra, I was cleaning my penis with water by pouring it from a mug, so first time I poured the water then when I did 2nd time the mug tip touched the middle part of my penis, then I poured more water from same mug and added it back to bucket. did my mug got najis and also does the whole water in the bucket got najis?

It is Pak