This comes out of FCOM chapter 9 - Flight Controls
Code:
To prevent excessive structural loads from increased Mach at higher altitude,
flap extension above 20,000 feet should not be attempted.
I find this book to be handy giving a lot of info, although not always with enough detail.
Bart