The friendly match in Barcelona ended in a 0-0 draw
Spain must play their next international friendly with a partial stadium closure after supporters sang a discriminatory chant about Muslims during a game against Egypt on 31 March.
A group of Spain home fans were heard chanting around the 10th minute of the first half, and once more at the beginning of the second half.
An anti-discrimination message warning fans was displayed on the screen at the RCDE Stadium in Barcelona - and was repeated early in the second half, leading to whistles from some sections of the crowd.