Abu Ayyub said that when food was brought to the Prophet he ate some of it and sent him what was left over. One day when he sent him a dish from which he had eaten nothing because it contained garlic, he asked him whether it was unlawful and he replied, “No; but I dislike it because of its odour;” so he said, “I dislike what you dislike."
Muslim transmitted it.