Assalamu Alaikum!
My father is a retired bank employee and I am worried about the inheritance, because I do not consider my father's earnings halal for myself. So what is my position regarding inheritance? I think it is also haram, but I am not a scholar.
If your father has retired from a position in a bank that is directly related to interest-bearing transactions, such as manager, cashier, etc., and apart from this salary and fund, he does not have any halal wealth, then in that case it is necessary to return the mentioned wealth to the original owners. If they are not known, then it can be given as charity to the poor without the intention of reward, and, since this is not in your control, you should refrain from taking any of the wealth.
ففی الفتاوى الهندية: وإذا مات الرجل وكسبه خبيث فالأولى لورثته أن يردوا المال إلى أربابه فإن لم يعرفوا أربابه تصدقوا به وإن كان كسبه من حيث لا يحل وابنه يعلم ذلك ومات الأب ولا يعلم الابن ذلك بعينه فهو حلال له في الشرع والورع أن يتصدق به بنية خصماء أبيه كذا في الينابيع اھ (5/ 349)۔
وفی حاشية ابن عابدين: وعلى هذا قالوا لو مات الرجل وكسبه من بيع الباذق أو الظلم أو أخذ الرشوة يتورع الورثة ولا يأخذون منه شيئا وهو أولى بهم ويردونها على أربابها إن عرفوهم وإلا تصدقوا بها لأن سبيل الكسب الخبيث التصدق إذا تعذر الرد على صاحبه اھ (6/ 385) ۔