If it was upon vets advice and of paramount importance to the dog's health you will be fine. Would be careful about offering to let her take the dog for walks as if she so chose to walk the dog back to hers it could prove very difficult to get it back again...