In a large soup pot, boil potatoes until soft. Add sliced apples just 5 minutes before potatoes are done. Remove from heat. Drain.
In a large casserole dish, mix potatoes and apples. Dot with butter. Sprinkle brown sugar, walnuts, and raisins on top of potato mixture. Pour apricots over top.