السلام عليكم ورحمة الله وبركاته احسن الله اليك I know that buying device protection insurances is gambling, but does the same apply when you know almost 100% that this device will malfunction /break (e.g. a laptop) in the future. Is it still gambling and Haram?

Ustadh AbdulAziz al-Haqqan
That way you are winning against them, but it doesn't change the ruling it is still gambling.