come out smelling like a rose(Sometimes everything you touch turns to shit and other times you swim in a lake of shit and come out smelling like a rose. VLZ_58)
come out of something smelling of roses(By reporting his colleagues as soon as he learned of their dishonest business practices, the CEO came out smelling of roses.Anglophile)