I think Sanbi was under the possession of the Mist village. I don't know actually but Tobi explained earlier with Taka that Hashirama split the bijuus among the five great nations
I think the mist ninjas (secretly which were not present during the killing) later took away Rin's corpse and...