Pet-friendly here means more than a tick in a filter. It means a hotel close enough that you can return to your animal after the final whistle, with parking or a metro stop that keeps matchday simple, and green space within a short walk.
The first thing I look at is distance. Canopy by Hilton Madrid Castellana, Hotel NH Collection Madrid Eurobuilding and H10 Tribeca are each about an 8 to 9 minute walk from the Santiago Bernabéu, so you can leave your pet resting in the room, enjoy the build-up and the match, then be back within minutes of the final whistle. That matters if your dog gets anxious when left alone, because a short gap is far kinder than a long journey across Madrid on a crowded night. Staying this close also means your own routine barely changes, with short walks and an early night after the game.
Practical extras help just as much. Hotel NH Collection Madrid Eurobuilding and H10 Tribeca list on-site parking, and Hotel NH Madrid Zurbano mentions pet-friendly rooms and paid parking, which makes arrival easier when you carry bags, a crate and a bowl. Parking is not a given at every hotel on this page, so check availability and any fee when you reserve. Driving into the stadium area on a matchday is slow, so I would park once and walk the rest. I would still ask the hotel which entrance and floor suit an animal, because a quiet room away from the lift makes the night easier.
Walks are the other half of a trip with a dog. The wide Paseo de la Castellana runs right past the stadium, and Parque de Berlín is a short distance away, so a morning loop before the day gets busy is realistic from most of these hotels. Hotels a little further out, such as NYX Madrid and Hostal Bernabeu, rely on public transport, which is fine outside kick-off hours, though I would avoid the metro in the two hours around the match with an animal. If you arrive by train or plane, a taxi to the hotel is usually less stressful for an animal than changing metro lines with luggage.
Finally, choose by the kind of stay you want. The Eurobuilding and Canopy suit a comfortable multi-night visit, Hotel ILUNION Pío XII has a continental breakfast and paid parking, and Hostal Bernabeu is the simpler pick. Pet conditions such as size limits, fees and how many animals are allowed are set by each property, not by this page, so I always read the policy and write to the hotel before paying, particularly for a large dog or more than one pet. That small bit of preparation costs a few minutes and avoids the most common problem, which is arriving with a pet the property cannot accept.