Are you thinking of Sneak Attack, or am I missing something in the Rogue class? Sneak Attack doesn't grant advantage, just extra damage. Also, that seems like a liberal interpretation of "ally". I wouldn't say an unintelligent mount is an ally. Now, if that rogue were riding a dragon, then sure.